[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4.
From: |
Attila Lendvai |
Subject: |
[bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4. |
Date: |
Thu, 20 Jan 2022 22:50:05 +0100 |
* gnu/packages/crates-io.scm (rust-password-hash-0.3):
(rust-password-hash-0.1): New variables.
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 32873c8eea..c70556e73e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65617,6 +65617,52 @@ (define-public rust-packed-struct
;; User can choose either license.
(license (list license:expat license:asl2.0))))
+(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))))
+ (home-page
+ "https://github.com/RustCrypto/traits/tree/master/password-hash")
+ (synopsis
+ "Traits which describe 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-password-hash-0.1
+ (package
+ (inherit rust-password-hash-0.3)
+ (name "rust-password-hash")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "password-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ymh3np2bamjy8rszimksxcp264dclil4620bxm8rff9pyj6m62l"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-rand-core" ,rust-rand-core-0.6))))))
+
(define-public rust-piper-0.1
(package
(name "rust-piper")
--
2.34.0
- [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3., (continued)
- [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 35/49] gnu: Add rust-uint 0.4.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 20/49] gnu: Add rust-bitcoin-hashes 0.9.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 05/49] gnu: Add rust-crypto-common-0.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 22/49] gnu: rust-zeroize: Update to 1.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 26/49] gnu: Add rust-fixed-hash 0.7.0 and 0.2.5., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 38/49] gnu: Add rust-ethereum-types 0.4.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4.,
Attila Lendvai <=
- [bug#53401] [PATCH 33/49] gnu: Add rust-impl-codec 0.5.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 41/49] gnu: Add rust-gmp-mpfr-sys 1.4.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 25/49] gnu: Add rust-radium 0.6.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 08/49] gnu: Add rust-base64ct-1 1.3.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 46/49] gnu: Add rust-scale-info 1.0.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 16/49] gnu: Add rust-darling 0.13.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 32/49] gnu: Add rust-parity-scale-codec 2.3.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 27/49] gnu: Add rust-byte-slice-cast 1.2.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 13/49] gnu: rust-fnv: Update to 1.0.7., Attila Lendvai, 2022/01/20