* Updated usbutils to 005. (Upstream decided to restart numbering

versions from 001.  Urgh.)

svn path=/nixpkgs/branches/x-updates/; revision=34180
This commit is contained in:
Eelco Dolstra 2012-05-19 00:44:30 +00:00
parent ca74fa40db
commit 76c0be09f8

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libusb }: { stdenv, fetchurl, pkgconfig, libusb1, zlib, autoconf, automake, libtool }:
let let
@ -11,14 +11,16 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "usbutils-0.86"; name = "usbutils-005";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/utils/usb/usbutils/${name}.tar.gz"; url = mirror://debian/pool/main/u/usbutils/usbutils_005.orig.tar.gz;
sha256 = "1x0jkiwrgdb8qwy21iwhxpc8k61apxqp1901h866d1ydsakbxcmk"; sha256 = "05sxkm7b7lj8p8kr8kw68m49h66351s803z42233b8lssmc3wlra";
}; };
buildInputs = [ pkgconfig libusb ]; buildInputs = [ pkgconfig libusb1 autoconf automake libtool zlib ];
preConfigure = "autoreconf -i";
preBuild = "bunzip2 < ${usbids} > usb.ids"; preBuild = "bunzip2 < ${usbids} > usb.ids";