[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53102] [PATCH 27/41] gnu: rust-rbw: adding rust-scrypt-0.8
From: |
Nicolas Graves |
Subject: |
[bug#53102] [PATCH 27/41] gnu: rust-rbw: adding rust-scrypt-0.8 |
Date: |
Fri, 07 Jan 2022 15:19:54 +0100 |
User-agent: |
mu4e 1.6.10; emacs 28.0.50 |
>From cb655667f56fa26a705e0b1c84ffa71c8f18afdc Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 13:00:12 +0100
Subject: [PATCH 28/42] rust-rbw dependencies : adding rust-scrypt-0.8
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
1 file changed, 29 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96d02e1132..9d113c8fb0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47770,8 +47770,36 @@ (define-public rust-scratch-1
clean}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-scrypt-0.8
+ (package
+ (name "rust-scrypt")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "scrypt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09fkz5sc7qx97dyi1nkv69z36diggd2c9mja33cxpsqicdy6sgg7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-hmac" ,rust-hmac-0.12)
+ ("rust-password-hash" ,rust-password-hash-0.3)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.10)
+ ("rust-salsa20" ,rust-salsa20-0.9)
+ ("rust-sha2" ,rust-sha2-0.10))))
+ (home-page "https://github.com/RustCrypto/password-hashes")
+ (synopsis "Scrypt password-based key derivation function")
+ (description
+ "Scrypt password-based key derivation function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-scrypt-0.3
(package
+ (inherit rust-scrypt-0.8)
(name "rust-scrypt")
(version "0.3.0")
(source
@@ -47783,7 +47811,6 @@ (define-public rust-scrypt-0.3
(sha256
(base32
"1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
@@ -47792,12 +47819,7 @@ (define-public rust-scrypt-0.3
("rust-rand" ,rust-rand-0.7)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-sha2" ,rust-sha2-0.9)
- ("rust-subtle" ,rust-subtle-2.2))))
- (home-page "https://github.com/RustCrypto/password-hashes")
- (synopsis "Scrypt password-based key derivation function")
- (description
- "Scrypt password-based key derivation function.")
- (license (list license:expat license:asl2.0))))
+ ("rust-subtle" ,rust-subtle-2.2))))))
(define-public rust-scrypt-0.2
(package
--
2.34.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#53102] [PATCH 27/41] gnu: rust-rbw: adding rust-scrypt-0.8,
Nicolas Graves <=