mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
18 lines
480 B
Nix
18 lines
480 B
Nix
{ callPackage, fetchurl, autoreconfHook, ... } @ args:
|
|
|
|
callPackage ./generic.nix (args // rec {
|
|
version = "3.4.11";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
|
|
sha256 = "1f4sbb38xab46h67a3pm6kybgrahjx3vbrn66qq3cbc2jngrrvvh";
|
|
};
|
|
|
|
# This fixes some broken parallel dependencies
|
|
postPatch = ''
|
|
sed -i 's,^BUILT_SOURCES =,\0 systemkey-args.h,g' src/Makefile.am
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
})
|