nixpkgs/pkgs/development/libraries/gnutls/3.4.nix
2016-06-21 09:28:51 +02:00

18 lines
480 B
Nix

{ callPackage, fetchurl, autoreconfHook, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "3.4.13";
src = fetchurl {
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
sha256 = "0naqs9g5b577j1j7q55ma1vcn78jl2d98h3zrl5rh997wzl8cczx";
};
# This fixes some broken parallel dependencies
postPatch = ''
sed -i 's,^BUILT_SOURCES =,\0 systemkey-args.h,g' src/Makefile.am
'';
nativeBuildInputs = [ autoreconfHook ];
})