nixpkgs/pkgs/development/libraries/gnutls/3.4.nix

18 lines
479 B
Nix
Raw Normal View History

{ callPackage, fetchurl, autoreconfHook, ... } @ args:
2015-04-19 09:49:15 +02:00
callPackage ./generic.nix (args // rec {
2015-10-22 06:48:57 +02:00
version = "3.4.6";
2015-04-19 09:49:15 +02:00
src = fetchurl {
2015-09-14 04:51:20 +02:00
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
2015-10-22 06:48:57 +02:00
sha256 = "1v109px1sy1s731fnawzdsvggdswmr7ha9q5lid4v8pzgznmkdgy";
2015-04-19 09:49:15 +02:00
};
# This fixes some broken parallel dependencies
postPatch = ''
sed -i 's,^BUILT_SOURCES =,\0 systemkey-args.h,g' src/Makefile.am
'';
nativeBuildInputs = [ autoreconfHook ];
2015-04-19 09:49:15 +02:00
})