summary refs log tree commit diff
path: root/pkgs/development/libraries/nss/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2012-08-20 05:41:58 +0200
committeraszlig <aszlig@redmoonstudios.org>2012-08-22 08:29:09 +0200
commit0e768ba98d96148b0f1630e8712234be8b9300fc (patch)
tree3d6f3c5be648f6e44c47657cf74778dc61480dc4 /pkgs/development/libraries/nss/default.nix
parentd7fc07705a1465b4a54e73130c7b7fb020fa8e02 (diff)
downloadnixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.tar
nixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.tar.gz
nixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.tar.bz2
nixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.tar.lz
nixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.tar.xz
nixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.tar.zst
nixpkgs-0e768ba98d96148b0f1630e8712234be8b9300fc.zip
nss: Update NSS to version 3.13.6.
So to begin with fixing NSS let's get to the latest upstream release and start
fixing, so we won't carry around historic crap we then will throw away anyway.
Diffstat (limited to 'pkgs/development/libraries/nss/default.nix')
-rw-r--r--pkgs/development/libraries/nss/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/development/libraries/nss/default.nix b/pkgs/development/libraries/nss/default.nix
index 3b4d10eaa08..2a4ebbfc431 100644
--- a/pkgs/development/libraries/nss/default.nix
+++ b/pkgs/development/libraries/nss/default.nix
@@ -9,12 +9,16 @@ let
 
 in
 
-stdenv.mkDerivation {
-  name = "nss-3.13.3";
-
-  src = fetchurl {
-    url = http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/nss-3.13.3.tar.gz;
-    sha256 = "efa10f2c70da4bddabf1a6081964969bb23359b93d6eadbf4739274a77bc3587";
+stdenv.mkDerivation rec {
+  name = "nss-${version}";
+  version = "3.13.6";
+
+  src = let
+    uscoreVersion = stdenv.lib.replaceChars ["."] ["_"] version;
+    releasePath = "releases/NSS_${uscoreVersion}_RTM/src/nss-${version}.tar.gz";
+  in fetchurl {
+    url = "http://ftp.mozilla.org/pub/mozilla.org/security/nss/${releasePath}";
+    sha256 = "f7e90727e0ecc1c29de10da39a79bc9c53b814ccfbf40720e053b29c683d43a0";
   };
 
   buildInputs = [nspr perl zlib];