3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gnutls/3.4.nix

18 lines
479 B
Nix
Raw Normal View History

{ callPackage, fetchurl, autoreconfHook, ... } @ args:
2015-04-19 08:49:15 +01:00
callPackage ./generic.nix (args // rec {
2015-10-22 05:48:57 +01:00
version = "3.4.6";
2015-04-19 08:49:15 +01:00
src = fetchurl {
2015-09-14 03:51:20 +01:00
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
2015-10-22 05:48:57 +01:00
sha256 = "1v109px1sy1s731fnawzdsvggdswmr7ha9q5lid4v8pzgznmkdgy";
2015-04-19 08:49:15 +01: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 08:49:15 +01:00
})