From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iM7EKgBlm2W0OgEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 03:59:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4FE9IgBlm2XszAAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 03:59:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=r1FSvrFN; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704682752; h=from:from:sender:sender: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=Ucc4BiZqo7HETTf7nE8ViSF4z8GB2/LLF4IAr6EGr3A=; b=soTDEpbZ/lfGq9T6SMTLyKJT2T6KF9k8tF4Y+CYMzQkSewm9ZkIsOqyWUl8mSmvj0jbcaY wMtsjt6Odnd6XX4oCNRwj894ZTIq+o165M+UnF2kGaGEUn6PZAQbquxqV+oOSAlSt5t+v3 dlz0bcgkKyiFXlgAUoG8n8BENONyjnnnu8SjQneZqT6xeu6BRE2aIlBZUfUMTQakAXA8oG pNINZMVUM2/mgW893QQyJS6nw9khdGJ6PKvBHlQb3Kc6L9fB6qoCt8+vhpd5FsKSu0c5et HgKpuwfAtM06xvVO1+tQZsXCnekcPOJqXiw7jB/r8bHRx0mvE17JpM63f59rDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704682752; a=rsa-sha256; cv=none; b=QrEnk/EWBqaw12flpN8ILZpeLRtk4neXeMv5mEx19IIHDEHqisOvXKjoztRB5NEyRK542g 0+35GccyPC7XbeF5QCj5ihDNX5Bp2sFPy2Rm7ljKLyTD4KRTZszD5NXpFeUPy6xN/4PNP8 YrBEV7TK9TRvje1zPPhttdMvi9DFn4nJy41APum1Kkc/C6L36/nAY0tsvf80uEe9CRy94U h7I2VEtvjE5IrEWcigXlzseeTeP5+k8qKxQDCrlXyQwbI4+huOq+i8/32fw6zrEG2ycrno CJYBnU2DCm40FVtpC6om7ODM/gTQHEz5XwHiLADtX9hagKjgwoTv1QcD8fd32Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=r1FSvrFN; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none) 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 64D3669D83 for ; Mon, 8 Jan 2024 03:59:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMf0A-0006vx-NC; Sun, 07 Jan 2024 21:04:30 -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 1rMezr-0006Zw-Tv for guix-patches@gnu.org; Sun, 07 Jan 2024 21:04:14 -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 1rMezq-0001NE-Ir for guix-patches@gnu.org; Sun, 07 Jan 2024 21:04:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMezv-0003O2-E6 for guix-patches@gnu.org; Sun, 07 Jan 2024 21:04:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 051/156] gnu: Add rust-ed25519-dalek-2. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 02:04:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.170467944612839 (code B ref 68312); Mon, 08 Jan 2024 02:04:15 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 02:04:06 +0000 Received: from localhost ([127.0.0.1]:34717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMezl-0003Kp-Az for submit@debbugs.gnu.org; Sun, 07 Jan 2024 21:04:05 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:36974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMezc-0003Fw-Ai for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 21:03:57 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678886; bh=Ucc4BiZqo7HETTf7nE8ViSF4z8GB2/LLF4IAr6EGr3A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=r1FSvrFNwjJEiy8NNd0De0+tZnEma2evkOtZQpQPzIPzgoB+IO11xWzBUdhMG8Dcq jz2NuhUcfR8EtDhxn1UW98LKIa1lmPizbDk4whCXNUaxgF+ZeGe1CFaQqTmhiuTCPj xLHJ04jydg2+r3hoVZzXbANwHNVnIXTyvLZy6aug= Date: Mon, 8 Jan 2024 02:52:28 +0100 Message-ID: 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: , 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-Queue-Id: 64D3669D83 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.70 X-Spam-Score: -3.70 X-TUID: KhfUNfDy60Kr * gnu/packages/crates-io.scm (rust-ed25519-dalek-2): New variable. (rust-ed25519-dalek-1): Inherit from rust-ed25519-dalek-2. Change-Id: Ia800295e33e837cb1c701acb7e07a62cd8baab60 --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ad58c75b48e..471de55c822 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22904,8 +22904,39 @@ (define-public rust-ed25519-compact-2 implementation.") (license license:expat))) +(define-public rust-ed25519-dalek-2 + (package + (name "rust-ed25519-dalek") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h13qm789m9gdjl6jazss80hqi8ll37m0afwcnw23zcbqjp8wqhz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #: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)))) + (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))) + (define-public rust-ed25519-dalek-1 (package + (inherit rust-ed25519-dalek-2) (name "rust-ed25519-dalek") (version "1.0.1") (source @@ -22915,7 +22946,6 @@ (define-public rust-ed25519-dalek-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "17bsriciv93nkm39z22w7mr0h2a3hnbmgf378v4c895gvkkblqn7")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -22927,13 +22957,7 @@ (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-edit-distance-2 (package -- 2.41.0