unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53099] [PATCH 24/41] gnu: rust-rbw: adding rust-password-hash
@ 2022-01-07 14:17 Nicolas Graves via Guix-patches via
  2022-01-19 13:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-01-07 14:17 UTC (permalink / raw)
  To: 53099

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0025-rust-rbw-dependencies-adding-rust-password-hash.patch --]
[-- Type: text/x-patch, Size: 1808 bytes --]

From cb6f245fdb7c73596f3d171efa18371363c0ce47 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 12:45:07 +0100
Subject: [PATCH 25/42] rust-rbw dependencies : adding rust-password-hash

---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 232c236d55..2bafccb9ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36941,6 +36941,35 @@ (define-public rust-partial-io-0.2
         ("rust-tokio-core" ,rust-tokio-core-0.1))))
     (license license:bsd-3)))
 
+(define-public rust-password-hash-0.3
+  (package
+    (name "rust-password-hash")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "password-hash" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-base64ct" ,rust-base64ct-1)
+        ("rust-rand-core" ,rust-rand-core-0.6)
+        ("rust-subtle" ,rust-subtle-2.4))))
+    (home-page
+     "https://github.com/RustCrypto/traits/tree/master/password-hash")
+    (synopsis
+     "Traits describing the functionality of password hashing algorithms")
+    (description
+     "Traits which describe the functionality of password hashing algorithms,
+as well as a `no_std`-friendly implementation of the PHC string format (a
+well-defined subset of the Modular Crypt Format a.k.a.  MCF)")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-paste-1
   (package
     (name "rust-paste")
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#53099] [PATCH 24/41] gnu: rust-rbw: adding rust-password-hash
  2022-01-07 14:17 [bug#53099] [PATCH 24/41] gnu: rust-rbw: adding rust-password-hash Nicolas Graves via Guix-patches via
@ 2022-01-19 13:51 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-19 13:51 UTC (permalink / raw)
  To: 53099; +Cc: 53099-done, Nicolas Graves

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> From cb6f245fdb7c73596f3d171efa18371363c0ce47 Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves@ngraves.fr>
> Date: Fri, 7 Jan 2022 12:45:07 +0100
> Subject: [PATCH 25/42] rust-rbw dependencies : adding
> rust-password-hash

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 14:17 [bug#53099] [PATCH 24/41] gnu: rust-rbw: adding rust-password-hash Nicolas Graves via Guix-patches via
2022-01-19 13:51 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).