usbutils: Update to 006

This commit is contained in:
Eelco Dolstra 2012-09-28 23:09:34 -04:00
parent 6f700142c4
commit f2ccebcae4

View File

@ -1,27 +1,25 @@
{ stdenv, fetchurl, pkgconfig, libusb1, zlib, autoreconfHook }: { stdenv, fetchurl, pkgconfig, libusb1 }:
let let
# Obtained from http://www.linux-usb.org/usb.ids.bz2. # Obtained from http://www.linux-usb.org/usb.ids.bz2.
usbids = fetchurl { usbids = fetchurl {
url = http://nixos.org/tarballs/usb.ids.20120411.bz2; url = http://nixos.org/tarballs/usb.ids.20120920.bz2;
sha256 = "0rgxancjd1krv9g817w1wlbg7k19i8mwx37qs1vw1f21xz49yvja"; sha256 = "0sz860g7grf6kx22p49s6j8h85c69ymcw16a8110klzfl9hl9hli";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "usbutils-005"; name = "usbutils-006";
src = fetchurl { src = fetchurl {
url = mirror://debian/pool/main/u/usbutils/usbutils_005.orig.tar.gz; url = mirror://kernel/linux/utils/usb/usbutils/usbutils-006.tar.xz;
sha256 = "05sxkm7b7lj8p8kr8kw68m49h66351s803z42233b8lssmc3wlra"; sha256 = "03pd57vv8c6x0hgjqcbrxnzi14h8hcghmapg89p8k5zpwpkvbdfr";
}; };
buildInputs = [ pkgconfig libusb1 autoreconfHook ]; buildInputs = [ pkgconfig libusb1 ];
preConfigure = "autoreconf -i";
preBuild = "bunzip2 < ${usbids} > usb.ids"; preBuild = "bunzip2 < ${usbids} > usb.ids";
meta = { meta = {