From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yF0rCcMRS2a5jAAAqHPOHw:P1 (envelope-from ) for ; Mon, 20 May 2024 11:02:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yF0rCcMRS2a5jAAAqHPOHw (envelope-from ) for ; Mon, 20 May 2024 11:02:59 +0200 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=AGjaER5w; 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=1716195779; 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=No/phxZ3bDBpA813aKnscxAmyQSRYNYlvWJ12wrEPxM=; b=PfWIWJ/O9XmMX8Iy4T3n9z3xlyBWJzB+yy9jwwtmP1nWbthtEjXdCQQX9gjN75uU2CZrvi 9nkK8B92xmRSIbnshoeJyEy9AxGYpbAKkHcVLhs7o8DG/k+EVrlgvk/QuQ1d6dkSltK9vN Bu7kaUyQ+tQrghg1N7CQJEmjoqlj2//nCBFO8bbwv07RV6GkkvA9wlCJdm+lFSS6z5bmT4 UkyKK7mhgRyEnxTJwGqS+I44g4N3VfX1XbShHDp4hSWBhm7k0kJAz/x+AI0v+v+6l9sAXx o5r+lQCOdsUf1Itwd3ifDy+p9qgjFCBA4KiKKuZZhWNoYIbFEQAjPm4yQudANg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716195779; a=rsa-sha256; cv=none; b=nIYwefWNVbIfnaDKmgyRCc+zLu3+rzBYL4hNNtVLG6sucPQpm08nW1Ii4YTl47WqA1xTDI feLybe3dY4A8Exo2povMTc4fd9qPjeRBFU+9VN9IzI7f58kBzvwHlcG5ZsrXQ5DwGc5djT N8HBsdvd/IveGiKoJhGpV4PKroneGbUJKGFKfmQ91kKVTftOUS0dZE/nV428ZEz0mmmv5S QtmG9AV2RCHdMZmHLOWM0v9FOsBeSOcSos2WafUI63Vr8gWrMzMYZlW5iA759bcxemLyXm S15wnIiD1q0/d7tsRuuMVgyuz9xPZEQlyo7Aa4E48Bvxclmz+5Jt5M2XR6lZhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=AGjaER5w; 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" 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 0A66B666F6 for ; Mon, 20 May 2024 11:02:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8yu5-0000uv-Ll; Mon, 20 May 2024 05:01:58 -0400 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 1s8ytL-0000Xz-TL for guix-patches@gnu.org; Mon, 20 May 2024 05:01:11 -0400 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 1s8ytL-0006nd-L1 for guix-patches@gnu.org; Mon, 20 May 2024 05:01:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8ytQ-0007Gp-3N; Mon, 20 May 2024 05:01:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71076] [PATCH 28/81] gnu: Add rust-rust-argon2-1. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 09:01:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71076 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71076@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71076-submit@debbugs.gnu.org id=B71076.171619565927529 (code B ref 71076); Mon, 20 May 2024 09:01:16 +0000 Received: (at 71076) by debbugs.gnu.org; 20 May 2024 09:00:59 +0000 Received: from localhost ([127.0.0.1]:41179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8yt9-00079r-1Q for submit@debbugs.gnu.org; Mon, 20 May 2024 05:00:59 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43493 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8ysT-00072t-6p for 71076@debbugs.gnu.org; Mon, 20 May 2024 05:00:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1716195605; 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=No/phxZ3bDBpA813aKnscxAmyQSRYNYlvWJ12wrEPxM=; b=AGjaER5whstNY4Qhfr08phx93bxT/vVaLyj8yx/wmQ2SxCpLGJazVyFKpc+qMzCr0PkMX7 jjznz4wncZuJZlVz3R7Gzp946bAoXL8eQcFU92xBT270wiJMIMDqjjJhD87nMLnNuMJl4M fF56K+SQ69yG9Zcy2fCz+cw9koW8QLqWXRycPVlnD8/5MOnz7M11lbMBr5uoSvweGG5iJG KXOkOcTGvg2XRS45va0eDENn1I7OpM5YYyzetEDMxVB32Z08SaGIZ1oVlG7LvrybGLAxFT WlVH2oDeXnClPf4BSIeyCabW3oNW+Ax/EE65sSXXuVN1qEXf2Xrmo3KWCAZp2w== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id d52a4e0b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <71076@debbugs.gnu.org>; Mon, 20 May 2024 09:00:05 +0000 (UTC) Date: Mon, 20 May 2024 10:58:33 +0200 Message-ID: <7550188390f5e18644ec76015ea554034047c1d6.1716193123.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: -1.86 X-Spam-Score: -1.86 X-Migadu-Queue-Id: 0A66B666F6 X-Migadu-Scanner: mx11.migadu.com X-TUID: jlK7FQId9jEI * gnu/packages/crates-crypto.scm (rust-rust-argon2-1): Add variable. (rust-rust-argon2-0.8): Inherit from rust-rust-argon2-1. Change-Id: I28f506cec246eed17da301aa74bf786ec77cb49a --- 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 39f4214905..f2ad7b73f1 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -5164,8 +5164,37 @@ (define-public rust-rsa-0.5 ("rust-sha2" ,rust-sha2-0.9) ("rust-sha3" ,rust-sha3-0.9)))))) +(define-public rust-rust-argon2-1 + (package + (name "rust-rust-argon2") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z0v2kcmqdb61jh6y26797x1rlkqx0y57l88z3gnrgphzn9m9255")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-base64-0.21 + rust-blake2b-simd-1 + rust-constant-time-eq-0.3 + rust-crossbeam-utils-0.8 + rust-serde-1) + #:cargo-development-inputs (list rust-hex-0.4))) + (home-page "https://github.com/sru-systems/rust-argon2") + (synopsis "Argon2 password hashing function in Rust") + (description + "This package provides a Rust implementation of the Argon2 password +hashing function.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rust-argon2-0.8 (package + (inherit rust-rust-argon2-1) (name "rust-rust-argon2") (version "0.8.3") (source @@ -5175,7 +5204,6 @@ (define-public rust-rust-argon2-0.8 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -5183,13 +5211,7 @@ (define-public rust-rust-argon2-0.8 ("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)))) - (home-page "https://github.com/sru-systems/rust-argon2") - (synopsis "Argon2 password hashing function in Rust") - (description - "This package provides a Rust implementation of the Argon2 password -hashing function.") - (license (list license:expat license:asl2.0)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-rust-argon2-0.7 (package -- 2.41.0