diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-06-05 15:57:26 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-06-05 15:57:26 +0000 |
commit | e562d4c02139061d6e23f5952a461d12a1a4f010 (patch) | |
tree | c66085d5801f57e256644d549455f64575f790ac /pkgs/os-specific/linux/usbutils | |
parent | cd44dd8aaa90e0efabc1e0b01bad29d27ae5a9ab (diff) |
* Added HAL.
svn path=/nixpkgs/trunk/; revision=8835
Diffstat (limited to 'pkgs/os-specific/linux/usbutils')
-rw-r--r-- | pkgs/os-specific/linux/usbutils/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/usbutils/default.nix b/pkgs/os-specific/linux/usbutils/default.nix index ef6559a800146..c314366ba9576 100644 --- a/pkgs/os-specific/linux/usbutils/default.nix +++ b/pkgs/os-specific/linux/usbutils/default.nix @@ -1,10 +1,20 @@ {stdenv, fetchurl, libusb}: +let + + usbids = fetchurl { + url = http://nix.cs.uu.nl/dist/tarballs/usb.ids.20061212.bz2; + sha256 = "112l4fzjn5p3y6fv3x10vbrd36n2v5n04s7pjdlkb2yqv4crp84m"; + }; + +in + stdenv.mkDerivation { - name = "usbutils-0.71"; + name = "usbutils-0.72"; src = fetchurl { - url = http://nix.cs.uu.nl/dist/tarballs/usbutils-0.71.tar.gz; - md5 = "479d7c7098ef44cc95e7978fd71c712c"; + url = http://heanet.dl.sourceforge.net/sourceforge/linux-usb/usbutils-0.72.tar.gz; + sha256 = "08s4g4sz7p3a1afvphxd7h5bbfywvp0j611y85wbhwr14i9m6f00"; }; buildInputs = [libusb]; + preBuild = "bunzip2 < ${usbids} > usb.ids"; } |