aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-04-05 20:08:55 -0400
committerMark H Weaver <mhw@netris.org>2015-04-05 23:04:03 -0400
commit2bb9b5de7d7df60d3d3e5567bbacd14ed558ce1c (patch)
tree51ca525d51c143c23a6af0a33cef2625d8016aea /gnu
parent5180717e64eaf4e12c330a761d3d9df0df20f556 (diff)
downloadguix-2bb9b5de7d7df60d3d3e5567bbacd14ed558ce1c.tar
guix-2bb9b5de7d7df60d3d3e5567bbacd14ed558ce1c.tar.gz
gnu: nss: Update to 3.18.
* gnu/packages/gnuzilla.scm (nss): Update to 3.18. Compute source URI automatically based on version.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnuzilla.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index f4a68fb186..068e1f1ef0 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -122,15 +122,18 @@ in the Mozilla clients.")
(define-public nss
(package
(name "nss")
- (version "3.17.4")
+ (version "3.18")
(source (origin
(method url-fetch)
- (uri (string-append
- "ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/"
- "releases/NSS_3_17_4_RTM/src/nss-3.17.4.tar.gz"))
+ (uri (let ((version-with-underscores
+ (string-join (string-split version #\.) "_")))
+ (string-append
+ "ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/"
+ "releases/NSS_" version-with-underscores "_RTM/src/"
+ "nss-" version ".tar.gz")))
(sha256
(base32
- "0ycxzybgn4bq0i6j5zjdjl70n3s8a742yixyik4pw8x4h4cav60x"))
+ "0h0xy9kvd2s8r438q4dfn25cgvv5dc1hkm9lb4bgrxpr5bxv13b1"))
;; Create nss.pc and nss-config.
(patches (list (search-patch "nss-pkgconfig.patch")))))
(build-system gnu-build-system)