mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
parent
c8c7cc1f09
commit
25859fae74
@ -1,16 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, pkgconfig, libusb1}:
|
||||
|
||||
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
|
||||
# build to break.
|
||||
patchPhase = ''
|
||||
sed -i s/-Werror// Makefile.in
|
||||
'';
|
||||
buildInputs = [ pkgconfig libusb1 ];
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/libusb/libusb-0.1.12.tar.gz;
|
||||
sha256 = "0i4bacxkyr7xyqxbmb00ypkrv4swkgm0mghbzjsnw6blvvczgxip";
|
||||
url = mirror://sourceforge/libusb/libusb-compat-0.1.5.tar.bz2;
|
||||
sha256 = "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user