From 39ed6749dddc165c98168c49b13e45c8ba7ba707 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 25 Jun 2014 11:20:55 +0200 Subject: gnu: nettle: Add version 3.0. * gnu/packages/nettle.scm (nettle-3): New variable. --- gnu/packages/nettle.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/nettle.scm b/gnu/packages/nettle.scm index 96407837b4..0df8f001bf 100644 --- a/gnu/packages/nettle.scm +++ b/gnu/packages/nettle.scm @@ -52,3 +52,16 @@ fit in easily in almost any context. It can be easily included in cryptographic toolkits for object-oriented languages or in applications themselves.") (license gpl2+))) + +(define-public nettle-3 + ;; This version is not API-compatible with version 2. In particular GnuTLS + ;; cannot use it yet. So keep it separate. + (package (inherit nettle) + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/nettle/nettle-" + version ".tar.gz")) + (sha256 + (base32 + "04yrpjz33vrj6j0zxc153b00f93i8hs41syr1ryp7sr64fyw0lcn")))))) -- cgit v1.2.3