diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-04-28 04:39:48 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-04-28 05:31:33 +0200 |
commit | 8fd2c89b5433feed76a110383adef6d55fb54cca (patch) | |
tree | a0de50544b430fcbfac738caf6e027321d147641 /pkgs | |
parent | 87e090cd8ae45d080898ea04dc41e511f87e1664 (diff) |
python3.pkgs.pyusb: remove unnecessary libusb-compat dependency
It was added in https://github.com/NixOS/nixpkgs/commit/4d7cc55344a18142b4b4120cfe81b18344d78b0b
without any rationale. python2.pkgs.nxt-python seems to build without it.
Maybe it for some reason uses the libusb-0.1 backend but propagating the compat library would not enable that.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pyusb/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pyusb/default.nix b/pkgs/development/python-modules/pyusb/default.nix index d646f7930f9a..424bdd9266ee 100644 --- a/pkgs/development/python-modules/pyusb/default.nix +++ b/pkgs/development/python-modules/pyusb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchPypi, buildPythonPackage, libusb, libusb1 }: +{ stdenv, fetchPypi, buildPythonPackage, libusb1 }: buildPythonPackage rec { pname = "pyusb"; @@ -17,8 +17,6 @@ buildPythonPackage rec { sed -i -e "s|find_library=None|find_library=lambda _:\"$libusb\"|" usb/backend/libusb1.py ''; - propagatedBuildInputs = [ libusb ]; - # No tests included doCheck = false; |