From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +F6eAKafuV+zUAAA0tVLHw (envelope-from ) for ; Sat, 21 Nov 2020 23:15:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +BvrN6WfuV8MYQAAbx9fmQ (envelope-from ) for ; Sat, 21 Nov 2020 23:15:49 +0000 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 6DA8F9404D5 for ; Sat, 21 Nov 2020 23:15:49 +0000 (UTC) Received: from localhost ([::1]:41960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgc6e-00041n-D7 for larch@yhetil.org; Sat, 21 Nov 2020 18:15:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgc69-0003Wy-9X for guix-patches@gnu.org; Sat, 21 Nov 2020 18:15:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgc64-0003ma-PC for guix-patches@gnu.org; Sat, 21 Nov 2020 18:15:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgc64-0002Oe-Kb for guix-patches@gnu.org; Sat, 21 Nov 2020 18:15:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44785] [PATCH 12/22] gnu: Add rust-ed25519-1. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Nov 2020 23:15:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44785 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44785@debbugs.gnu.org X-Debbugs-Original-To: 44785@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 44785-submit@debbugs.gnu.org id=B44785.16060004948944 (code B ref 44785); Sat, 21 Nov 2020 23:15:12 +0000 Received: (at 44785) by debbugs.gnu.org; 21 Nov 2020 23:14:54 +0000 Received: from localhost ([127.0.0.1]:46447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgc5l-0002K6-HI for submit@debbugs.gnu.org; Sat, 21 Nov 2020 18:14:53 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:50982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgc5e-0002Iy-Qo for 44785@debbugs.gnu.org; Sat, 21 Nov 2020 18:14:47 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Cdq4k2gPZz1rspt; Sun, 22 Nov 2020 00:14:46 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Cdq4k2XSkz1qsWs; Sun, 22 Nov 2020 00:14:46 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id NWcBIWrnhVAp; Sun, 22 Nov 2020 00:14:45 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-182.dynamic.mnet-online.de [188.174.59.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 22 Nov 2020 00:14:45 +0100 (CET) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 94D856072F; Sun, 22 Nov 2020 00:18:05 +0100 (CET) From: Hartmut Goebel Date: Sun, 22 Nov 2020 00:13:57 +0100 Message-Id: X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: XipRk/6Uki+a * gnu/packages/crates-io.scm (rust-ed25519-1): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aa6b822db8..8bf7875698 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7193,6 +7193,37 @@ floating-point primitives to an @code{io::Write}.") "This package provides lightweight binding to DirectWrite.") (license license:mpl2.0))) +(define-public rust-ed25519-1 + (package + (name "rust-ed25519") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vxn7x1xinbv1cl31015m0fw08jwkphylxrll17animv9i9nmiip")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-signature" ,rust-signature-1)))) + (home-page "") + (synopsis "Edwards Digital Signature Algorithm (EdDSA) over Curve25519") + (description + "EdDSA over Curve25519 is specified in RFC 8032. This package contains +an ed25519::Signature type which other packages can use in conjunction with +the signature::Signer and signature::Verifier traits It doesn't contain an +implementation of Ed25519. + +These traits allow packages which produce and consume Ed25519 signatures to be +written abstractly in such a way that different signer/verifier providers can +be plugged in, enabling support for using different Ed25519 implementations, +including HSMs or Cloud KMS services.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-edit-distance-2.1 (package (name "rust-edit-distance") -- 2.21.3