mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03: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 ];
|
|
})
|