guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63510] [PATCH v5] gnu: nettle: update to 3.10.


From: Andy Tai
Subject: [bug#63510] [PATCH v5] gnu: nettle: update to 3.10.
Date: Mon, 2 Dec 2024 08:21:33 -0800

* gnu/packages/nettle.scm (nettle-3-current): New variable.
  (nettle)[replacement]: Add nettle-3-current as replacement.

Change-Id: Ia57c1d0ccc2a3dfe43766af1a5e7b23e28b4c664
---
 gnu/packages/nettle.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/nettle.scm b/gnu/packages/nettle.scm
index 15533ca629..4a2189419c 100644
--- a/gnu/packages/nettle.scm
+++ b/gnu/packages/nettle.scm
@@ -84,6 +84,7 @@ (define-public nettle
   ;; cannot use it yet.  So keep it separate.
   (package (inherit nettle-2)
     (version "3.9.1")
+    (replacement nettle-3-current)
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/nettle/nettle-"
@@ -97,3 +98,18 @@ (define-public nettle
         ;; Build "fat" binaries where the right implementation is chosen
         ;; at run time based on CPU features (starting from 3.1.)
         `(cons "--enable-fat" ,flags))))))
+
+
+(define-public nettle-3-current
+    ; upate to current version of Nettle 3; this uses GNU Guix's crafting 
mechanism
+    ; to avoid massive rebuild
+  (package (inherit nettle)
+    (version "3.10")
+    (replacement nettle-3-current)
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/nettle/nettle-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0z749qcqf1wap6zfkrvi6w9wg013y0c439ff9b5q9r3ln6niiidl"))))))

base-commit: d97a67d41de142c0fbdba55e96bfc147482bfae2
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]