all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "VÖRÖSKŐI András" <voroskoi@gmail.com>
To: 66953@debbugs.gnu.org
Cc: "VÖRÖSKŐI András" <voroskoi@gmail.com>,
	"Efraim Flashner" <efraim@flashner.co.il>
Subject: [bug#66953] [PATCH v2 2/2] gnu: Add rust-argon2-0.5.
Date: Wed,  8 Nov 2023 20:54:43 +0100	[thread overview]
Message-ID: <bbbe6165d1215de303ce61235e2f6560a9230c8c.1699473282.git.voroskoi@gmail.com> (raw)
In-Reply-To: <4ad228c7e033cb33b0b2099fd6e72b74b1c37012.1699473282.git.voroskoi@gmail.com>

* gnu/packages/crates-io.scm (rust-argon2-0.5): New variable.

Change-Id: I15970bb5338c19f524f82f39ec53a7b91c71bc3e
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 119a59d24f..75fed87989 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4021,6 +4021,36 @@ (define-public rust-argmax-0.3
 too long errors.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-argon2-0.5
+  (package
+    (name "rust-argon2")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "argon2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1y820hkza66lfliaxg49zskz7agj8wf7aak528livg261an4rfhp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64ct" ,rust-base64ct-1)
+        ("rust-blake2" ,rust-blake2-0.10)
+        ("rust-cpufeatures" ,rust-cpufeatures-0.2)
+        ("rust-password-hash" ,rust-password-hash-0.5)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.4)
+        ("rust-password-hash" ,rust-password-hash-0.5))))
+    (home-page
+     "https://github.com/RustCrypto/password-hashes/tree/master/argon2")
+    (synopsis "Rust argon2 library")
+    (description
+     "Pure Rust implementation of the Argon2 password hashing function with support
+for the Argon2d, Argon2i, and Argon2id algorithmic variants.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ariadne-0.1
   (package
     (name "rust-ariadne")
-- 
2.41.0





      reply	other threads:[~2023-11-08 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-05 16:25 [bug#66953] Working towards rust-rbw update VÖRÖSKŐI András
2023-11-05 17:21 ` András Vöröskői
2023-11-07  8:35 ` Efraim Flashner
2023-11-08 19:54 ` [bug#66953] [PATCH v2 1/2] gnu: rust-cpufeatures-0.2: Update to 0.2.11 VÖRÖSKŐI András
2023-11-08 19:54   ` VÖRÖSKŐI András [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bbbe6165d1215de303ce61235e2f6560a9230c8c.1699473282.git.voroskoi@gmail.com \
    --to=voroskoi@gmail.com \
    --cc=66953@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.