From patchwork Thu Nov 7 22:21:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70059 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 DFBC427BBEA; Thu, 7 Nov 2024 22:24:50 +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 944CC27BBE2 for ; Thu, 7 Nov 2024 22:24:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AvQ-0005Ws-OZ; Thu, 07 Nov 2024 17:24:24 -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 1t9Av9-0005Ve-L5 for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:08 -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 1t9Av5-0006qJ-NB for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24: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=Q8njJ58jU7p0NhR6mRT/SqM2eJowndKfyF9pTPrllTE=; b=JHGGsnGtrH1tyf9iS9N3pZGxO8Ht4bnB9Wn13DwGzrMJmbvLdx+RQ+0sKTB6RZlIjMmdbR+7xkCAg5ZomppPlNfgpaukxA49H8yib8O5lzvh3P9n5WYHG5WpAs7O0z89KdArNFmR5VLKVdCWfs3MyWzKcZu6bQbCjei551roZXTzH3ChU/bfVDRCX9VKyZM8P5Uqaoha7/mJH1MdXpR9OTkti0KqWszZQj48HXvfGbsNwlU2f7khfmmcwqYSsFX2fJvwbzGIGU1J/Ejf0CC6IPhXBJyC7gadwOkG+zRVklZoks9C648+tEWvLxxPK5vVKfpcVaoWAoXccEcTtnnHeQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Av5-0007gq-HI; Thu, 07 Nov 2024 17:24:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 02/40] gnu: Add rust-rust-argon2-2.0. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74233@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74233-submit@debbugs.gnu.org id=B74233.173101820929106 (code B ref 74233); Thu, 07 Nov 2024 22:24:03 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:29 +0000 Received: from localhost ([127.0.0.1]:49927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuW-0007Z5-5S for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:29 -0500 Received: from confino.investici.org ([93.190.126.19]:32037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuT-0007YP-BG for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018204; bh=Q8njJ58jU7p0NhR6mRT/SqM2eJowndKfyF9pTPrllTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PGT47pjXAarREqKz5aNjZIT8igJ72I4/K5UB77mapZafF/EcBWUCjA1ii4xHTDX4k dXHSscCl19nefRXHZhgx5eLbukq6ajSEdNqgRh3JGeQ8ib5NdUTF2YduRlOp8dt464 6T5Fpq/XVHc6QPZPZWX4vOLnpM0D0UQS1rFyCI/I= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRc6NTmz111v; Thu, 7 Nov 2024 22:23:24 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxRc5dFSz1111; Thu, 7 Nov 2024 22:23:24 +0000 (UTC) Date: Thu, 7 Nov 2024 23:21:47 +0100 Message-ID: <7fc9380a6c8d70d7fb620ba032336021a2360657.1731018145.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-rust-argon2-2.0): New variable; (rust-rust-argon2-0.8): inherit from rust-rust-argon2-2.0. Change-Id: I9636b29a24d317ddeb2b4284a0bdbe382e764a14 --- gnu/packages/crates-crypto.scm | 38 +++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index c8ead45efe..2b7a6be465 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -5138,26 +5138,27 @@ (define-public rust-rsa-0.5 ("rust-sha2" ,rust-sha2-0.9) ("rust-sha3" ,rust-sha3-0.9)))))) -(define-public rust-rust-argon2-0.8 +(define-public rust-rust-argon2-2.0 (package (name "rust-rust-argon2") - (version "0.8.3") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "rust-argon2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) + (base32 "0sp42kn06wm1mglrfxnv6js0fxjirgdjhhsakrv0xbmk44c9fw8y")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-serde" ,rust-serde-1)))) + (("rust-base64" ,rust-base64-0.21) + ("rust-blake2b-simd" ,rust-blake2b-simd-1) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4)))) (home-page "https://github.com/sru-systems/rust-argon2") (synopsis "Argon2 password hashing function in Rust") (description @@ -5165,6 +5166,27 @@ (define-public rust-rust-argon2-0.8 hashing function.") (license (list license:expat license:asl2.0)))) +(define-public rust-rust-argon2-0.8 + (package + (inherit rust-rust-argon2-2.0) + (name "rust-rust-argon2") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-rust-argon2-0.7 (package (inherit rust-rust-argon2-0.8)