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

18 lines
480 B
Nix
Raw Normal View History

{ callPackage, fetchurl, autoreconfHook, ... } @ args:
2015-04-19 09:49:15 +02:00
callPackage ./generic.nix (args // rec {
2016-06-20 13:38:33 +02:00
version = "3.4.13";
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";
2016-06-20 13:38:33 +02:00
sha256 = "0naqs9g5b577j1j7q55ma1vcn78jl2d98h3zrl5rh997wzl8cczx";
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
})