summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-03 23:15:52 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-03 23:16:48 +0200
commitb1cb9f281a8c1ea91b655ce2d10b79d156257816 (patch)
tree66994dd1637f4fd94623f0a3d160dcb7ba0c426d
parent8389e6f06efde73ebb849a82e0967eb6afec8c39 (diff)
downloadguix-b1cb9f281a8c1ea91b655ce2d10b79d156257816.tar.gz
gnu: libgcrypt@1.7: Replacement now has an accurate 'version' field.
* gnu/packages/gnupg.scm (libgcrypt-1.7.3)[version]: New field.
-rw-r--r--gnu/packages/gnupg.scm17
1 files changed, 8 insertions, 9 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 0eaeb45bb9..38a1dc9db6 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -112,15 +112,14 @@ generation.")
 (define libgcrypt-1.7.3
   (package
     (inherit libgcrypt)
-    (source
-     (let ((version "1.7.3"))
-       (origin
-         (method url-fetch)
-         (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
-                             version ".tar.bz2"))
-         (sha256
-          (base32
-           "0wbh6fq5zi9wg2xcfvfpwh7dv52jihivx1vm4h91c2kx0w8n3b6x")))))))
+    (version "1.7.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnupg/libgcrypt/libgcrypt-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32
+                "0wbh6fq5zi9wg2xcfvfpwh7dv52jihivx1vm4h91c2kx0w8n3b6x"))))))
 
 (define-public libgcrypt-1.5
   (package (inherit libgcrypt)