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

18 lines
480 B
Nix
Raw Normal View History

{ callPackage, fetchurl, autoreconfHook, ... } @ args:
2015-04-19 08:49:15 +01:00
callPackage ./generic.nix (args // rec {
2016-04-20 21:42:44 +01:00
version = "3.4.11";
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";
2016-04-20 21:42:44 +01:00
sha256 = "1f4sbb38xab46h67a3pm6kybgrahjx3vbrn66qq3cbc2jngrrvvh";
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
})