diff --git a/pkgs/development/libraries/libusb1/default.nix b/pkgs/development/libraries/libusb1/default.nix new file mode 100644 index 000000000000..dcdd9f46d763 --- /dev/null +++ b/pkgs/development/libraries/libusb1/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "libusb-1.0.8"; + + src = fetchurl { + url = "mirror://sourceforge/libusb/${name}.tar.bz2"; + sha256 = "1afvpaqnl5plqg95nkvsl4sj9d6ckrmjq44mql8l4zqgf6jx7l11"; + }; + + meta = { + homepage = http://www.libusb.org; + description = "User-space USB library"; + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e1e1d276d72d..75322e91b030 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3397,6 +3397,8 @@ let libusb = callPackage ../development/libraries/libusb { }; + libusb1 = callPackage ../development/libraries/libusb1 { }; + libunwind = callPackage ../development/libraries/libunwind { }; libv4l = callPackage ../development/libraries/libv4l { };