From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GARiJ3R30mULugAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 22:32:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GARiJ3R30mULugAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 22:32:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=owqsfBDl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708291956; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=64A0EHVNV9YgPMoTpbiQgx1gTSLbyxNTu5Ka5z7yYqg=; b=erq9xAG2Keccddy3HdOdR/9hno7Nv4m+H9ZjYop8eTZIuuHSoiN4rAeESx/PwfJUuz0Aei T+ph5aiyEmwc3fhqLW/X2YqtlZvpHZEtbKTzQKdU8G9oadXy8Z/lc4MrfCNiH07ohGYqjB UrM14CmZtWlQb747eLPXe2R2px9lGC9K/ByVYwf/UZ5x/TZKtjv1PSFcjfwMkUWw5lZbaQ Hp9j3FgzUOVrt51+g2B850jZANaDTiaPcZES45cjAYj7BnkLUhrhYC9qfgmcoztRZQK/SE 6QK3+HxJcfP8DJYVboqc7mM+vG5JrnPK7aJgCwetuUpSI7Ybt7vTV8EfycHhIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=owqsfBDl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708291956; a=rsa-sha256; cv=none; b=WZN/Qflm+gG6ZZxCZonhzG7BJ43bpWm3GWPDjlsKmhDyYnIb+j4YlbGQiitERisT8GjcW8 Mv0OOkbCAvaCwGtleW5ihg9pvOwngs3TW6zpwWY0T9VuRhsLUR2DImQiZa6W00M47gS5+O tpEEVfb4ffCogo4ooZWrx2Xez2JSr5ug0Gi5ii9+Hk/01Vn7yYBbEPSS6omeBuq4y/gNvJ yRle037KVX6Y/9c9NOdy4FZCorvwvvRM1xgq0IVo7EEz18Ca8Bz1LgENISTLZXAep9krQJ 0qg9cjDzLcszmIGcoqZqB6z+mFZU7xTVMTVBkISboTWJicn3l8XBrMpsNgbd7A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8C64F402F0 for ; Sun, 18 Feb 2024 22:32:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbolQ-0005N6-3h; Sun, 18 Feb 2024 16:31:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbolH-0005Fq-5j for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:48 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbolF-0002X8-JX for guix-patches@gnu.org; Sun, 18 Feb 2024 16:31:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbola-0004OF-5I; Sun, 18 Feb 2024 16:32:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 159/228] gnu: Add rust-curve25519-dalek-4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 21:32:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.170829189716520 (code B ref 69257); Sun, 18 Feb 2024 21:32:06 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:31:37 +0000 Received: from localhost ([127.0.0.1]:39420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbol1-0004IH-0S for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:31:37 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43013 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRn-0003Ez-2o for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=64A0EHVNV9YgPMoTpbiQgx1gTSLbyxNTu5Ka5z7yYqg=; b=owqsfBDlZ/6XX2ZufdQCt7sGsL0SbwVE4hne/YM8a+9szU1VyI9Avzuer6VVRQu/nHa+kt BkUHFY5BkgkIVmRGDGEBrssdNzn/HCg5D7r4oU4utn/4rmiYqI13N1sUMmA0YB+6tDlsY2 tULzzMoyUpPNzfFiAZ6RaWv64sozw6TJ93C6GtxO9dgGmQL0npPL/7LldfKtLnzjTw2fhU eV7S9u23eBnO/9tA4S+EAvfIulCejvQ+cbjRYqFpn2vU2YaBS7clf16/AWzTMB+ns1umO8 xPxZxhNy/El6HfizyDSR2NgSR9WOtfkqSwLN1IVxYSJpxMSs4V9iGLcJRSqwLg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 9f5cd801 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:11:12 +0000 (UTC) Date: Sun, 18 Feb 2024 22:08:49 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.48 X-Spam-Score: -6.48 X-Migadu-Queue-Id: 8C64F402F0 X-Migadu-Scanner: mx13.migadu.com X-TUID: hJ2y2JYbire3 * gnu/packages/crates-crypto.scm (rust-curve25519-dalek-4): Add variable. (rust-curve25519-dalek-3): Inherit from rust-curve25519-dalek-4. Change-Id: I997b83ead6f5ad368af932b4f4bfa9d231c5d06e --- gnu/packages/crates-crypto.scm | 50 ++++++++++++++++++++++++++++------ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 2af59fb983..4581bedd33 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1708,8 +1708,49 @@ (define-public rust-ctr-0.6 `(#:skip-build? #t #:cargo-inputs (("rust-cipher" ,rust-cipher-0.2)))))) +(define-public rust-curve25519-dalek-4 + (package + (name "rust-curve25519-dalek") + (version "4.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "curve25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j7kqchcgycs4a11gvlda93h9w2jr05nn4hjpfyh2kn94a4pnrqa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-curve25519-dalek-derive" ,rust-curve25519-dalek-derive-0.1) + ("rust-digest" ,rust-digest-0.10) + ("rust-ff" ,rust-ff-0.13) + ("rust-fiat-crypto" ,rust-fiat-crypto-0.2) + ("rust-group" ,rust-group-0.13) + ("rust-platforms" ,rust-platforms-3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://doc.dalek.rs/curve25519_dalek") + (synopsis "Group operations on ristretto255 and Curve25519") + (description + "This package provides a pure-Rust implementation of group operations +on ristretto255 and Curve25519.") + (license license:bsd-3))) + (define-public rust-curve25519-dalek-3 (package + (inherit rust-curve25519-dalek-4) (name "rust-curve25519-dalek") (version "3.2.0") (source @@ -1719,7 +1760,6 @@ (define-public rust-curve25519-dalek-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) @@ -1735,13 +1775,7 @@ (define-public rust-curve25519-dalek-3 ("rust-criterion" ,rust-criterion-0.3) ("rust-hex" ,rust-hex-0.4) ("rust-rand" ,rust-rand-0.7) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://dalek.rs/curve25519-dalek") - (synopsis "Group operations on ristretto255 and Curve25519") - (description - "This package provides a pure-Rust implementation of group operations on -ristretto255 and Curve25519.") - (license license:bsd-3))) + ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-curve25519-dalek-derive-0.1 (package -- 2.41.0