From patchwork Tue Dec 24 10:00:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 35243 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 A4C7527BBEA; Tue, 24 Dec 2024 10:02:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 020E127BBE2 for ; Tue, 24 Dec 2024 10:02:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQ1jz-0005R2-NW; Tue, 24 Dec 2024 05:02:15 -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 1tQ1jp-0005OE-F5 for guix-patches@gnu.org; Tue, 24 Dec 2024 05:02:06 -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 1tQ1jo-0003kQ-4f for guix-patches@gnu.org; Tue, 24 Dec 2024 05:02:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=oOq9fh4HMznFzqrJIt9TrlB0EJomNqLPxaCqHZHl3WU=; b=QX5w9P6LjXaf0hzANteDwFifFLH0zTWVVNpZQGYohkYRnU5ALSBT+HT9eedL7IhoA/kJdrsH8VMZn4Xb6HVRz6nhs0hLKtKwg9t2fc6FqZQxOBB11wTPFWi4l6sZ48z+VLVbkuznXv5XQlrWd/cD4LLeFxfSpT7ZJn1PWMVQyUrJb1P2Ok/BO6lw5xhhar1h4HvqzSVm2Bvt2gJhFN/gMeJ1b5mnH/+aVaRljd33+c9LDHYrM2RCnji5n5ORVwAo88LkQdzPHXXWr2SvAnUn7BJWkG3Y75kPpNa5Qh+yt36xwpXo+s/0ZoKLrvbWZabHjs2BFML6Frc+1CTn3CAYeg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQ1jm-0006VZ-Vw; Tue, 24 Dec 2024 05:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75059] [PATCH rust-team 3/8] gnu: rust-crypto-secretbox-0.1: Order alphabetically. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 24 Dec 2024 10:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75059 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75059@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75059-submit@debbugs.gnu.org id=B75059.173503451824961 (code B ref 75059); Tue, 24 Dec 2024 10:02:02 +0000 Received: (at 75059) by debbugs.gnu.org; 24 Dec 2024 10:01:58 +0000 Received: from localhost ([127.0.0.1]:59435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQ1jh-0006UO-Pt for submit@debbugs.gnu.org; Tue, 24 Dec 2024 05:01:58 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:40533 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQ1jd-0006TN-Cq for 75059@debbugs.gnu.org; Tue, 24 Dec 2024 05:01:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735034502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oOq9fh4HMznFzqrJIt9TrlB0EJomNqLPxaCqHZHl3WU=; b=fmL1CmRaFt9+UsVNN97AKxEBg7vCgTyO/ApdLUEx7ZUU3PS0AUl5nmMDrYKn06LPpd+qsx II/nDA3Xh/3tWMfSWJvJmHM16XSG/ISfkWoxuqyBnjnt1ZszhcDAwfD0O7/m6Y+Tz2CQii 4FawA8cYqmPWWsXhi/H2hsDwpjBo6nHWGUpyE8wfrzq+EWdeqEvnyRNhfZmHQBOjjGIqd3 prKZM61Sb+2pzMRJD6AGwVG8EdLgnK2iYWxyV56IfZgBSKCqMP2l3GIctYb3V76edw9OYm ZpqnhxROrw0QrNUY5584gUVQXmr6m6r12v+in16wiuWfkCAECScbeJ7lCQ9dwQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 19790e9a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75059@debbugs.gnu.org>; Tue, 24 Dec 2024 10:01:42 +0000 (UTC) Date: Tue, 24 Dec 2024 11:00:55 +0100 Message-ID: <08ee56a00599a80954bccbc259040bd1016ba26e.1735033899.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-crypto.scm (rust-crypto-secretbox-0.1): Order. Change-Id: I0db40723d730fbbec6402c63fde62bb2eec11571 --- gnu/packages/crates-crypto.scm | 63 +++++++++++++++++----------------- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 09efb5df08..ba172fb268 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1462,38 +1462,6 @@ (define-public rust-cmac-0.7 Cipher-based Message Authentication Code.") (license (list license:expat license:asl2.0)))) -(define-public rust-crypto-secretbox-0.1 - (package - (name "rust-crypto-secretbox") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto_secretbox" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qa1w5s8dbyb88269zrmvbnillqahz394pl07bsds6gpmn3wzmmr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) - ("rust-chacha20" ,rust-chacha20-0.9) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-poly1305" ,rust-poly1305-0.8) - ("rust-salsa20" ,rust-salsa20-0.10) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) - (home-page - "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox") - (synopsis - "Pure Rust implementation of the XSalsa20Poly1305") - (description - "Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. @code{NaCl} -crypto_secretbox) authenticated encryption cipher as well as the libsodium -variant of X@code{ChaCha20Poly1305}.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-crypto-bigint-0.5 (package (name "rust-crypto-bigint") @@ -1745,6 +1713,37 @@ (define-public rust-crypto-mac-0.4 ;; There are no non-yanked versions of this semver. (deprecated-package "rust-crypto-mac" rust-crypto-mac-0.4.0-yanked)) +(define-public rust-crypto-secretbox-0.1 + (package + (name "rust-crypto-secretbox") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto_secretbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qa1w5s8dbyb88269zrmvbnillqahz394pl07bsds6gpmn3wzmmr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) + ("rust-chacha20" ,rust-chacha20-0.9) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-poly1305" ,rust-poly1305-0.8) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) + (home-page + "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox") + (synopsis + "Pure Rust implementation of the XSalsa20Poly1305") + (description + "Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. @code{NaCl} +crypto_secretbox) authenticated encryption cipher as well as the libsodium +variant of X@code{ChaCha20Poly1305}.") + (license (list license:asl2.0 license:expat)))) (define-public rust-crypto-tests-0.5 (package