From patchwork Wed Mar 31 05:23:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 28215 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 09C9127BC65; Wed, 31 Mar 2021 06:25:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 703E927BC67 for ; Wed, 31 Mar 2021 06:25:51 +0100 (BST) Received: from localhost ([::1]:44414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRTMU-0000ld-9T for patchwork@mira.cbaines.net; Wed, 31 Mar 2021 01:25:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRTLj-0000Pf-7S for guix-patches@gnu.org; Wed, 31 Mar 2021 01:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRTLj-0006Ng-0Z for guix-patches@gnu.org; Wed, 31 Mar 2021 01:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRTLi-00036s-Tw for guix-patches@gnu.org; Wed, 31 Mar 2021 01:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47513] [PATCH 04/12] gnu: Add nettle-3.7. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Mar 2021 05:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47513 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47513@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 47513-submit@debbugs.gnu.org id=B47513.161716825011817 (code B ref 47513); Wed, 31 Mar 2021 05:25:02 +0000 Received: (at 47513) by debbugs.gnu.org; 31 Mar 2021 05:24:10 +0000 Received: from localhost ([127.0.0.1]:53246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRTKr-00034R-K6 for submit@debbugs.gnu.org; Wed, 31 Mar 2021 01:24:10 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:36801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRTKi-00032O-Ms for 47513@debbugs.gnu.org; Wed, 31 Mar 2021 01:24:01 -0400 Received: by mail-qk1-f178.google.com with SMTP id c4so18284279qkg.3 for <47513@debbugs.gnu.org>; Tue, 30 Mar 2021 22:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hOmVUiZrKEloUk6+oiBjwcuj6xaKXR/1GWcGIZIa6pk=; b=Prb6WhqcnrnZuvwU3/IxmpVOFav/KmhY03YtKVIKX9uC6aqZbz51N56+1nFQ5Wi3FY BysmdKcfpTb8VDHdYqmtu2UYn12guqccVZPwcHr+BGHX8vAsNcw18qMo7VgUdz/Ekn5w 30L+spsLcIJuUHP9CI1h+wwWtczLsSF3Dh1KQLwsr057rX8Cqzu2+fJJcba+pADn+SMq nc89kVg3EG6v9yOwC/i3ybGj0uxCUn73YNtdBXQFDzAAbVYpCLbWdALKLKS3LtQlLG/X X1nRxo+657/uXB7jepR7H2EGavD/BQjrFYFKL/DWRFFDJMn3/K0gbM46DvmeVYauE3QF DPyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hOmVUiZrKEloUk6+oiBjwcuj6xaKXR/1GWcGIZIa6pk=; b=kh+fvHywSyHD3ZmSVAmWMOEULspYFrFnPiN4DDQZqJz8PMKqAl1TqmiDXznVyhq1mt Lga+eLeGsfSZXust7+muvUfyimMB9g13tRthzNKzux0OJJcrhJy0iZs3mUwZ5iC53jpG 8ssus6xCoP/CKrzJwOXSVnjUVGGAZWBxYgUxgeictQga6aEfvU4fFiEPZzxe66VZKQRB 8rC1kQ1NdXwOMw7RXXICRgClyZKmfsuTv/X63Cslq9r/b77TCxHYhN9pi6OHFnHyYPfN osSPbB3sU3fgXi+WGS4d1NR7fxtLQvkO8eBaHQMCMJFgicFRBtEimK3PzXHeiSkexsqy Bd2g== X-Gm-Message-State: AOAM533wUF0I6OgsuRQxoRnj3vimTkUCEeLw2gjB7at9kvc6fCjRn7Qb IO4kieF0aF4vnhDV4eij/2IRDh+V3B4= X-Google-Smtp-Source: ABdhPJxg7k+CeyTJWAkuuBNyTXhCeMXI1b6GeDvYNAYdhsf5Rayp7j1i30QPGCukbX5oFdeMQgPxXg== X-Received: by 2002:a37:7ec2:: with SMTP id z185mr1607182qkc.467.1617168235108; Tue, 30 Mar 2021 22:23:55 -0700 (PDT) Received: from localhost.localdomain ([207.35.95.145]) by smtp.gmail.com with ESMTPSA id q64sm828662qtd.32.2021.03.30.22.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 22:23:54 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 31 Mar 2021 01:23:40 -0400 Message-Id: <20210331052348.5164-4-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210331052348.5164-1-maxim.cournoyer@gmail.com> References: <20210331052348.5164-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 ;;; Copyright © 2016 Mark H Weaver ;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2021 Maxim Cournoyer ;;; ;;; 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)