forked from M-Labs/nix-scripts
pyftdi: clean, link to upstream PR
This commit is contained in:
parent
17c1dba1fd
commit
0971a04b8f
|
@ -62,6 +62,8 @@ rec {
|
||||||
propagatedBuildInputs = with python3Packages; [ scipy numpy pyqt5 pyopengl ];
|
propagatedBuildInputs = with python3Packages; [ scipy numpy pyqt5 pyopengl ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: use python3Packages.pyftdi starting with NixOS 19.09 or later
|
||||||
|
# Upstream PR: https://github.com/NixOS/nixpkgs/pull/61256
|
||||||
pyftdi = python3Packages.buildPythonPackage rec {
|
pyftdi = python3Packages.buildPythonPackage rec {
|
||||||
name = "pyftdi";
|
name = "pyftdi";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -71,7 +73,6 @@ rec {
|
||||||
sha256 = "0mw79fjnvswa0j3bzr0y906rz1vjbr8lwy0albgvsfr0ngwbajqy";
|
sha256 = "0mw79fjnvswa0j3bzr0y906rz1vjbr8lwy0albgvsfr0ngwbajqy";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = with python3Packages; [ pyusb pyserial ];
|
propagatedBuildInputs = with python3Packages; [ pyusb pyserial ];
|
||||||
#doCheck = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue