From dc5872e79f44a34d8cc29b965d44bede623e2f58 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 3 Apr 2015 19:17:28 -0700 Subject: [PATCH] gnutls: Add version 3.3.14 --- pkgs/development/libraries/gnutls/3.3.nix | 10 ++++++++++ pkgs/top-level/all-packages.nix | 9 ++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/gnutls/3.3.nix diff --git a/pkgs/development/libraries/gnutls/3.3.nix b/pkgs/development/libraries/gnutls/3.3.nix new file mode 100644 index 00000000000..fbf51f34ff8 --- /dev/null +++ b/pkgs/development/libraries/gnutls/3.3.nix @@ -0,0 +1,10 @@ +{ callPackage, fetchurl, ... } @ args: + +callPackage ./generic.nix (args // rec { + version = "3.3.14"; + + src = fetchurl { + url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-${version}.tar.lz"; + sha256 = "1117j71ng66syddw10yazrniqkd326hcigx2hfcw4s86rk0kqanv"; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d41a8e7557f..e06da8fc47c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5916,7 +5916,14 @@ let nettle = nettle27; }; - gnutls_with_guile = lowPrio (gnutls.override { guileBindings = true; }); + gnutls33 = callPackage ../development/libraries/gnutls/3.3.nix { + guileBindings = config.gnutls.guile or false; + nettle = nettle27; + }; + + gnutls32_with_guile = lowPrio (gnutls32.override { guileBindings = true; }); + + gnutls33_with_guile = lowPrio (gnutls33.override { guileBindings = true; }); gpac = callPackage ../applications/video/gpac { };