2006-01-05 00:29:09 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-07-06 23:37:45 +02:00
|
|
|
name = "libusb-0.1.12";
|
2010-03-06 23:34:21 +01:00
|
|
|
|
|
|
|
# On non-linux, we get warnings compiling, and we don't want the
|
|
|
|
# build to break.
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i s/-Werror// Makefile.in
|
|
|
|
'';
|
|
|
|
|
2006-01-05 00:29:09 +01:00
|
|
|
src = fetchurl {
|
2007-08-27 15:01:33 +02:00
|
|
|
url = mirror://sourceforge/libusb/libusb-0.1.12.tar.gz;
|
2006-07-06 23:37:45 +02:00
|
|
|
md5 = "caf182cbc7565dac0fd72155919672e6";
|
2006-01-05 00:29:09 +01:00
|
|
|
};
|
|
|
|
}
|