unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 63510@debbugs.gnu.org, ngraves@ngraves.fr
Cc: Andy Tai <atai@atai.org>
Subject: [bug#63510] [PATCH v5] gnu: nettle: update to 3.10.
Date: Mon,  2 Dec 2024 08:21:33 -0800	[thread overview]
Message-ID: <3c37a4885a8a5d8dffcae25d426b5b34d4bf0792.1733156459.git.atai@atai.org> (raw)
In-Reply-To: <186e1492ca748c4bbbc25e7d839c43c4b52b7184.1684126141.git.atai@atai.org>

* 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





      parent reply	other threads:[~2024-12-02 16:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15  4:49 [bug#63510] [PATCH] gnu: nettle: Update to 3.9 Andy Tai
2023-06-02  5:50 ` [bug#63510] [PATCH v2] gnu: nettle: update to 3.9.1 Andy Tai
2023-06-28 10:52   ` Christopher Baines
2024-09-03  3:09 ` [bug#63510] [PATCH core-packages v3] gnu: nettle: update to 3.10 Andy Tai
2024-10-20 22:37 ` [bug#63510] [PATCH v4] " Andy Tai
2024-12-02 16:21 ` Andy Tai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c37a4885a8a5d8dffcae25d426b5b34d4bf0792.1733156459.git.atai@atai.org \
    --to=atai@atai.org \
    --cc=63510@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).