[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47513] [PATCH 04/12] gnu: Add nettle-3.7.
From: |
Maxim Cournoyer |
Subject: |
[bug#47513] [PATCH 04/12] gnu: Add nettle-3.7. |
Date: |
Wed, 31 Mar 2021 01:23:40 -0400 |
While nettle cannot be upgraded wholesale on the master branch, we can at
least also offer the latest version available.
* gnu/packages/nettle.scm (nettle-3.5, nettle-3.7): New variables.
(nettle): Redefine as a binding to nettle-3.5, which is the current version.
---
gnu/packages/nettle.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/nettle.scm b/gnu/packages/nettle.scm
index f5e7188ff0..753e2d6e7e 100644
--- a/gnu/packages/nettle.scm
+++ b/gnu/packages/nettle.scm
@@ -2,6 +2,7 @@
;;; Copyright ?? 2012, 2013, 2014, 2015 Ludovic Court??s <ludo@gnu.org>
;;; Copyright ?? 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright ?? 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright ?? 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -71,7 +72,7 @@ cryptographic toolkits for object-oriented languages or in
applications
themselves.")
(license gpl2+)))
-(define-public nettle
+(define-public nettle-3.5
;; This version is not API-compatible with version 2. In particular, lsh
;; cannot use it yet. So keep it separate.
(package (inherit nettle-2)
@@ -89,3 +90,17 @@ themselves.")
;; 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.7
+ (package (inherit nettle-3.5)
+ (version "3.7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/nettle/nettle-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0qpi1qp3bcvqdsaxy2pzg530db95x8qjahkynxgwvr6dy5760ald"))))))
+
+;;; Upgrading Nettle on master would cause 10000+ packages to be rebuilt.
+(define-public nettle nettle-3.5)
--
2.31.1
- [bug#47513] [PATCH 00/12] Update jami and add jami-qt, Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 01/12] gnu: asio: Update to 1.18.1., Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 02/12] gnu: restbed: Update to 4.7., Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 04/12] gnu: Add nettle-3.7.,
Maxim Cournoyer <=
- [bug#47513] [PATCH 03/12] gnu: restinio: Update to 0.6.13., Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 06/12] gnu: pjproject: Update to 2.11., Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 07/12] gnu: pjproject-jami: Fix CVE-2020-15260 and CVE-2021-21375., Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 08/12] ffmpeg-jami: Patch with the patches from Jami 20210326.1.cfba013., Maxim Cournoyer, 2021/03/31
- [bug#47513] [PATCH 11/12] gnu: jami: Update to 20210326.1.cfba013 and rename to jami-gnome., Maxim Cournoyer, 2021/03/31
[bug#47513] [PATCH 10/12] gnu: libringclient: Update to 20210326.1.cfba013., Maxim Cournoyer, 2021/03/31