forked from M-Labs/artiq-extrapkg
remove hidapi override
Bug is fixed upstream.
This commit is contained in:
parent
9d9ce56b4d
commit
2296eb7f2a
11
flake.nix
11
flake.nix
@ -113,15 +113,6 @@
|
||||
|
||||
in rec {
|
||||
packages.x86_64-linux = rec {
|
||||
# https://github.com/m-labs/artiq/issues/23
|
||||
hidapi = pkgs.hidapi.overrideAttrs (oa: {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "signal11";
|
||||
repo = "hidapi";
|
||||
rev = "a6a622ffb680c55da0de787ff93b80280498330f";
|
||||
sha256 = "17n7c4v3jjrnzqwxpflggxjn6vkzscb32k4kmxqjbfvjqnx7qp7j";
|
||||
};
|
||||
});
|
||||
korad_ka3005p = pkgs.python3Packages.buildPythonPackage {
|
||||
pname = "korad_ka3005p";
|
||||
version = "1.1";
|
||||
@ -157,7 +148,7 @@
|
||||
postPatch = ''
|
||||
substituteInPlace lda/hidapi.py \
|
||||
--replace "hidapi_lib_path = None"\
|
||||
"hidapi_lib_path = '${hidapi}/lib/libhidapi-libusb.so.0'"
|
||||
"hidapi_lib_path = '${pkgs.hidapi}/lib/libhidapi-libusb.so.0'"
|
||||
'';
|
||||
};
|
||||
thorlabs_tcube = pkgs.python3Packages.buildPythonPackage {
|
||||
|
Loading…
Reference in New Issue
Block a user