From 8fd2c89b5433feed76a110383adef6d55fb54cca Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 28 Apr 2020 04:39:48 +0200 Subject: [PATCH] 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. --- pkgs/development/python-modules/pyusb/default.nix | 4 +--- 1 file changed, 1 insertion(+), 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;