pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -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";