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 CF9TGLN30mVeWgEAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 22:33:39 +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 CF9TGLN30mVeWgEAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 22:33:39 +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=X56eWvvP; 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=1708292019; 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=qpHDKnQkotn0L2NR10Lb5ILfaVcWnG5fB/jeuYjNFVY=; b=DwkA4eoI4lW6DJksf7oJT3XLb/XrjCG9UE0Ro30eAt5qtbtXr7cK7oqfWtNjix7NL4HNvg H2zatub46KsuzBfHQukiR+vlxZxTk9rQ/4sQDdZ+xgYO9KgvryBveFU4JvIlh3+sCjqKt8 WvtJRqIDCrU1B8kOfuqpygTI6ckspibtgRHhuRbFlOXp4SWqBqRuDjO4EPwLIeAE3s1+so VEI3q+Wa2qV1R+t9VsxU0Ed8QtTxZiZst3DMcK3LB68LA22kvp7kqxbZ1q89ptIzoPznP2 dg96vDHZBAxQwWf3v0wRVmLQ41QcXxSOGApS2UTZXpZxOqTnUYh2JjCMe1s4YA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=X56eWvvP; 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=1708292019; a=rsa-sha256; cv=none; b=gaGWGwW0TrEv0ak6SHbP+RNAgbL/ctWjaXGnDyF90m/sek6fLXMIHOpE2WTapWmM4w9GrZ ZSfFZCC3IVLWTjj+LiQqScf4w5GNw6ot5QCQ6bh53raT85YwFWeuF0dPQu37dmio4sb/zk 10NyPznuqkwF7P1os43qibZiQTOEuK7XXGYdmJcTdSoclfOEHhc1NTEeYlLfdjixbm1reH UPPZ4FjZBUTyIi2aobsiIxmbgFnsvI+pnyyr8PFY5Z+Wy6Pz4DipXH5j7Th4XM8IJKmNta ov3bPQJ4VcARzHDE6br+6IME12cdSNyHWBj3HnU4ruHgwcl7XvDRh0p2dcu9mQ== 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 45C7F402FD for ; Sun, 18 Feb 2024 22:33:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbolY-0005WU-Oj; Sun, 18 Feb 2024 16:32:04 -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 1rbolX-0005Vh-6v for guix-patches@gnu.org; Sun, 18 Feb 2024 16:32:03 -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 1rbolW-0002kC-Uc for guix-patches@gnu.org; Sun, 18 Feb 2024 16:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbolr-0004Ud-J6; Sun, 18 Feb 2024 16:32:23 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 166/228] gnu: Add rust-ed25519-dalek-2. 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:23 +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.170829191216767 (code B ref 69257); Sun, 18 Feb 2024 21:32:23 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:31:52 +0000 Received: from localhost ([127.0.0.1]:39486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbolL-0004MG-J5 for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:31:52 -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 1rboRo-0003Ez-Hz for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290675; 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=qpHDKnQkotn0L2NR10Lb5ILfaVcWnG5fB/jeuYjNFVY=; b=X56eWvvP8FuMa07oKK02inW2FDTXlySYeTlTZr9xaLyU5bBwSdxfiCh8Tz5YLg7CuL01Ee siY2ENaT0qKfifxdE/fwHdYfAVA5puHUnlyWj/eeGpXygrZw81PnNKH+wcEBn1zm4d9FnH +IUXUgA2tuHFQHmw7U49R/u6weyLuFxB5tuAQhRjvNV+G5f/rB7tWqYfBWaloWjhNOa8b/ 0SYUIMlFaOop01DwISKnse8MxsyIsLhhd7tn6owPa2c5CeRVIIzJUb+rMkTZkZgaVWl3g3 Rs/pu7tBPzV/0ev5V+IuakXlxmIFSqfKY6Xneiq5O9wirdKN49FC9Vk2c4dcZQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 1a143139 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:11:15 +0000 (UTC) Date: Sun, 18 Feb 2024 22:08:56 +0100 Message-ID: <135997a0d4b0297e962e33c9a046bb216ebb8734.1708288188.git.herman@rimm.ee> 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: 45C7F402FD X-Migadu-Scanner: mx13.migadu.com X-TUID: 6vUhTIa6M66B * gnu/packages/crates-io.scm (rust-ed25519-dalek-2): Add variable. (rust-ed25519-dalek-1): Inherit from rust-ed25519-dalek-2. Change-Id: I423a0c695b3ec4e70975077b5fe7f14130f70c94 --- gnu/packages/crates-crypto.scm | 53 +++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 108553a5eb..9835b5af9e 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -2193,8 +2193,52 @@ (define-public rust-ed25519-compact-2 implementation.") (license license:expat))) +(define-public rust-ed25519-dalek-2 + (package + (name "rust-ed25519-dalek") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w88cafwglg9hjizldbmlza0ns3hls81zk1bcih3m5m3h67algaa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("rust-ed25519" ,rust-ed25519-2) + ("rust-merlin" ,rust-merlin-3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-blake2" ,rust-blake2-0.10) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("rust-hex" ,rust-hex-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha3" ,rust-sha3-0.10) + ("rust-toml" ,rust-toml-0.7) + ("rust-x25519-dalek" ,rust-x25519-dalek-2)))) + (home-page "https:///doc.dalek.rs/ed25519_dalek") + (synopsis "Ed25519 EdDSA key generations, signing, and verification") + (description + "This package provides fast and efficient ed25519 @code{EdDSA} key +generations, signing, and verification in pure Rust.") + (license license:bsd-3))) + (define-public rust-ed25519-dalek-1 (package + (inherit rust-ed25519-dalek-2) (name "rust-ed25519-dalek") (version "1.0.1") (source @@ -2216,13 +2260,8 @@ (define-public rust-ed25519-dalek-1 ("rust-serde" ,rust-serde-1) ("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-sha2" ,rust-sha2-0.9) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://dalek.rs") - (synopsis "Ed25519 EdDSA key generations, signing, and verification") - (description - "This package provides fast and efficient ed25519 EdDSA key generations, -signing, and verification in pure Rust.") - (license license:bsd-3))) + ("rust-zeroize" ,rust-zeroize-1)))))) + (define-public rust-elliptic-curve-0.13 (package -- 2.41.0