From 2cf31a1840888b224cc63522ffbf09ca4773ba76 Mon Sep 17 00:00:00 2001 From: Michiel Leenaars Date: Mon, 20 Jun 2016 14:17:13 +0200 Subject: [PATCH] gnutls35: init at 3.5.1 --- pkgs/development/libraries/gnutls/3.5.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/gnutls/3.5.nix diff --git a/pkgs/development/libraries/gnutls/3.5.nix b/pkgs/development/libraries/gnutls/3.5.nix new file mode 100644 index 000000000000..82bd437d721b --- /dev/null +++ b/pkgs/development/libraries/gnutls/3.5.nix @@ -0,0 +1,17 @@ +{ callPackage, fetchurl, autoreconfHook, ... } @ args: + +callPackage ./generic.nix (args // rec { + version = "3.5.1"; + + src = fetchurl { + url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-${version}.tar.xz"; + sha256 = "1gdxr1p1sigigwvangqf3v31i8fda07d6ngawykarhr7ls00yjmw"; + }; + + # This fixes some broken parallel dependencies + postPatch = '' + sed -i 's,^BUILT_SOURCES =,\0 systemkey-args.h,g' src/Makefile.am + ''; + + nativeBuildInputs = [ autoreconfHook ]; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dc47a12f10ad..8b615434cdc4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7254,6 +7254,10 @@ in guileBindings = config.gnutls.guile or false; }; + gnutls35 = callPackage ../development/libraries/gnutls/3.5.nix { + guileBindings = config.gnutls.guile or false; + }; + gpac = callPackage ../applications/video/gpac { }; gpgme = callPackage ../development/libraries/gpgme {