diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libusb-compat')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libusb-compat/0.1.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libusb-compat/0.1.nix b/nixpkgs/pkgs/development/libraries/libusb-compat/0.1.nix index 2830ef284587..b23123f56eaa 100644 --- a/nixpkgs/pkgs/development/libraries/libusb-compat/0.1.nix +++ b/nixpkgs/pkgs/development/libraries/libusb-compat/0.1.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , autoreconfHook , patchelf -, pkgconfig +, pkg-config , libusb1 }: @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" ]; # get rid of propagating systemd closure outputBin = "dev"; - nativeBuildInputs = [ autoreconfHook patchelf pkgconfig ]; + nativeBuildInputs = [ autoreconfHook patchelf pkg-config ]; buildInputs = [ libusb1 ]; @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { sha256 = "1nybccgjs14b3phhaycq2jx1gym4nf6sghvnv9qdfmlqxacx0jz5"; }; - patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch; + patches = lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch; # without this, libusb-compat is unable to find libusb1 postFixup = '' @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { patchelf --set-rpath ${lib.makeLibraryPath buildInputs} {} \; ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://libusb.info/"; repositories.git = "https://github.com/libusb/libusb-compat-0.1"; description = "cross-platform user-mode USB device library"; |