parent
c8c7cc1f09
commit
25859fae74
@ -1,16 +1,12 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl, pkgconfig, libusb1}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libusb-0.1.12";
|
name = "libusb-compat-0.1.5";
|
||||||
|
|
||||||
# On non-linux, we get warnings compiling, and we don't want the
|
buildInputs = [ pkgconfig libusb1 ];
|
||||||
# build to break.
|
|
||||||
patchPhase = ''
|
|
||||||
sed -i s/-Werror// Makefile.in
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/libusb/libusb-0.1.12.tar.gz;
|
url = mirror://sourceforge/libusb/libusb-compat-0.1.5.tar.bz2;
|
||||||
sha256 = "0i4bacxkyr7xyqxbmb00ypkrv4swkgm0mghbzjsnw6blvvczgxip";
|
sha256 = "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user