upgrade some packages to libusb1

on my systems, I can now override "libusb = libusb1" in all of nixpkgs
so perhaps we can soon drop libusb 0.1 support?
This commit is contained in:
Mathijs Kwik 2013-06-28 23:04:28 +02:00
parent 270ba268d7
commit fe622f6523
2 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, libpng, libtiff, pam, openssl
, dbus, libusb1, acl }:
, dbus, libusb, acl }:
let version = "1.5.4"; in
@ -13,7 +13,7 @@ stdenv.mkDerivation {
md5 = "de3006e5cf1ee78a9c6145ce62c4e982";
};
buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb1 ]
buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb ]
++ stdenv.lib.optionals stdenv.isLinux [ pam dbus.libs acl ] ;
propagatedBuildInputs = [ openssl ];

View file

@ -901,7 +901,7 @@ let
# use config.packageOverrides if you prefer original gnupg1
gnupg1 = gnupg1compat;
gnupg = callPackage ../tools/security/gnupg { };
gnupg = callPackage ../tools/security/gnupg { libusb = libusb1; };
gnupg2_1 = lowPrio (callPackage ../tools/security/gnupg/git.nix {
libassuan = libassuan2_1;
@ -942,7 +942,7 @@ let
buggyBiosCDSupport = config.grub.buggyBiosCDSupport or true;
};
grub2 = callPackage ../tools/misc/grub/2.0x.nix { };
grub2 = callPackage ../tools/misc/grub/2.0x.nix { libusb = libusb1; };
grub2_efi = grub2.override { EFIsupport = true; };
@ -8992,6 +8992,7 @@ let
boost = boost149;
eigen = eigen2;
libotr = libotr_3_2;
libusb = libusb1;
}) ../desktops/kde-4.10;
kdePackagesFor = self: dir:
@ -9379,7 +9380,7 @@ let
auctex = callPackage ../tools/typesetting/tex/auctex { };
cups = callPackage ../misc/cups { };
cups = callPackage ../misc/cups { libusb = libusb1; };
cups_pdf_filter = callPackage ../misc/cups/pdf-filter.nix { };
@ -9547,6 +9548,7 @@ let
saneBackends = callPackage ../applications/graphics/sane/backends.nix {
gt68xxFirmware = config.sane.gt68xxFirmware or null;
hotplugSupport = config.sane.hotplugSupport or true;
libusb = libusb1;
};
saneBackendsGit = callPackage ../applications/graphics/sane/backends-git.nix {