1
0
Fork 0

pyftdi: clean, link to upstream PR

This commit is contained in:
Astro 2019-05-11 00:05:21 +02:00
parent 17c1dba1fd
commit 0971a04b8f
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}; };