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