2006-01-04 23:29:29 +00:00
|
|
|
{stdenv, fetchurl, libusb}:
|
|
|
|
|
2007-06-05 16:57:26 +01:00
|
|
|
let
|
|
|
|
|
|
|
|
usbids = fetchurl {
|
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/usb.ids.20061212.bz2;
|
|
|
|
sha256 = "112l4fzjn5p3y6fv3x10vbrd36n2v5n04s7pjdlkb2yqv4crp84m";
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
2006-01-04 23:29:29 +00:00
|
|
|
stdenv.mkDerivation {
|
2007-06-05 16:57:26 +01:00
|
|
|
name = "usbutils-0.72";
|
2006-01-04 23:29:29 +00:00
|
|
|
src = fetchurl {
|
2007-08-27 14:01:33 +01:00
|
|
|
url = mirror://sourceforge/linux-usb/usbutils-0.72.tar.gz;
|
2007-06-05 16:57:26 +01:00
|
|
|
sha256 = "08s4g4sz7p3a1afvphxd7h5bbfywvp0j611y85wbhwr14i9m6f00";
|
2006-01-04 23:29:29 +00:00
|
|
|
};
|
|
|
|
buildInputs = [libusb];
|
2007-06-05 16:57:26 +01:00
|
|
|
preBuild = "bunzip2 < ${usbids} > usb.ids";
|
2006-01-04 23:29:29 +00:00
|
|
|
}
|