diff --git a/pkgs/development/libraries/libusb1/1_0_9.nix b/pkgs/development/libraries/libusb1/1_0_9.nix new file mode 100644 index 0000000000000..a2d628f96896a --- /dev/null +++ b/pkgs/development/libraries/libusb1/1_0_9.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig }: + +stdenv.mkDerivation rec { + name = "libusb-1.0.9"; + + src = fetchurl { + url = "mirror://sourceforge/libusb/${name}.tar.bz2"; + sha256 = "16sz34ix6hw2wwl3kqx6rf26fg210iryr68wc439dc065pffw879"; + }; + + buildInputs = [ pkgconfig ]; + + meta = { + homepage = http://www.libusb.org; + description = "User-space USB library"; + platforms = stdenv.lib.platforms.unix; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4f20172532209..9b980c6f82f8c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6851,7 +6851,9 @@ let untie = callPackage ../os-specific/linux/untie { }; - upower = callPackage ../os-specific/linux/upower { }; + upower = callPackage ../os-specific/linux/upower { + libusb1 = callPackage ../development/libraries/libusb1/1_0_9.nix {}; + }; upstart = callPackage ../os-specific/linux/upstart { };