mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
libusb-compat: 0.1.5 -> 0.1.7
Also, change the source repository to the GitHub repository pointed to by the official website.
This commit is contained in:
parent
65d5cc1499
commit
54bab3faaf
@ -1,7 +1,8 @@
|
||||
{stdenv, fetchurl, pkgconfig, libusb1}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libusb-compat-0.1.5";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libusb-compat-${version}";
|
||||
version = "0.1.7";
|
||||
|
||||
outputs = [ "out" "dev" ]; # get rid of propagating systemd closure
|
||||
outputBin = "dev";
|
||||
@ -10,8 +11,8 @@ stdenv.mkDerivation {
|
||||
propagatedBuildInputs = [ libusb1 ];
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/libusb/libusb-compat-0.1.5.tar.bz2;
|
||||
sha256 = "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0";
|
||||
url = "https://github.com/libusb/libusb-compat-0.1/releases/download/v${version}/${name}.tar.gz";
|
||||
sha256 = "1y2wjba4w9r53sfaacj6awyqhmi31n53j4wwx8g8qj82m8wcwy86";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
|
||||
|
Loading…
Reference in New Issue
Block a user