Subject: [bug#61391] [PATCH 3/6] gnu: Add nss-next.

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 9 Feb 2023 11:37:40 -0500

* gnu/packages/nss.scm (nss-next): New variable.
---

 gnu/packages/nss.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index b24f9abdde..7101dbfdd3 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -242,3 +242,20 @@ (define-public nss
 PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other
 security standards.")
     (license license:mpl2.0)))
+
+(define-public nss-next
+  (package
+    (inherit nss)
+    (version "3.83")
+    (source (origin
+              (inherit (package-source nss))
+              (uri (let ((version-with-underscores
+                          (string-join (string-split version #\.) "_")))
+                     (string-append
+                      "https://ftp.mozilla.org/pub/mozilla.org/security/nss/"
+                      "releases/NSS_" version-with-underscores "_RTM/src/"
+                      "nss-" version ".tar.gz")))
+              (sha256
+               (base32
+                "0a01xwfrr334mibj1agbykjkc72ph906f2n8ff5hn2b4z5kyl8xb"))))
+    (propagated-inputs (list nspr-next))))
-- 
2.39.1