2006-01-04 23:29:09 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-07-06 22:37:45 +01:00
|
|
|
name = "libusb-0.1.12";
|
2010-03-06 22:34:21 +00: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-04 23:29:09 +00:00
|
|
|
src = fetchurl {
|
2007-08-27 14:01:33 +01:00
|
|
|
url = mirror://sourceforge/libusb/libusb-0.1.12.tar.gz;
|
2014-10-12 15:13:21 +01:00
|
|
|
sha256 = "0i4bacxkyr7xyqxbmb00ypkrv4swkgm0mghbzjsnw6blvvczgxip";
|
2006-01-04 23:29:09 +00:00
|
|
|
};
|
|
|
|
}
|