GNU bug report logs - #66955
[PATCH 2/2] gnu: Add rust-argon2-0.5.

Previous Next

Package: guix-patches;

Reported by: VÖRÖSKŐI András <voroskoi <at> gmail.com>

Date: Sun, 5 Nov 2023 16:30:02 UTC

Severity: normal

Tags: patch

Done: András Vöröskői <voroskoi <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66955 in the body.
You can then email your comments to 66955 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#66955; Package guix-patches. (Sun, 05 Nov 2023 16:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to VÖRÖSKŐI András <voroskoi <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 05 Nov 2023 16:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: VÖRÖSKŐI András <voroskoi <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: VÖRÖSKŐI András <voroskoi <at> gmail.com>
Subject: [PATCH 2/2] gnu: Add rust-argon2-0.5.
Date: Sun,  5 Nov 2023 17:25:34 +0100
* gnu/packages/crates-io.scm (rust-argon2-0.5): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 747561564d..26e8a4331c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4021,6 +4021,44 @@ (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))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'configure 'fix-cpufeatures-version
+           (lambda _
+             (substitute* "guix-vendor/rust-cpufeatures-0.2.11.tar.gz/Cargo.toml"
+               (("0.2.149")
+                ,(package-version rust-libc-0.2)))
+             #t)))))
+    (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





bug closed, send any further explanations to 66955 <at> debbugs.gnu.org and VÖRÖSKŐI András <voroskoi <at> gmail.com> Request was from András Vöröskői <voroskoi <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 09 Nov 2023 15:43:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 08 Dec 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.