gnu: nettle: Add version 3.0.

* gnu/packages/nettle.scm (nettle-3): New variable.
This commit is contained in:
Ludovic Courtès 2014-06-25 11:20:55 +02:00
parent b4eab6a6a5
commit 39ed6749dd
1 changed files with 13 additions and 0 deletions

View File

@ -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"))))))