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-09-14 03:51:20 +01:00
version = "3.4.5";
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";
sha256 = "1bks1zpmhmnkz2v32dd9b44pz6x0a5w4yi9zzwsd0a078vhbi25g";
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
})