mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
gnu: Add rust-rust-argon2-0.8.
* gnu/packages/crates-io.scm (rust-rust-argon2-0.8): New variable. (rust-rust-argon2-0.7): Inherit from above.
This commit is contained in:
parent
c0c04ffbc4
commit
2a4cc07cd1
1 changed files with 36 additions and 17 deletions
|
@ -44159,34 +44159,53 @@ (define-public rust-rusqlite-0.19
|
||||||
(inputs
|
(inputs
|
||||||
(list sqlite))))
|
(list sqlite))))
|
||||||
|
|
||||||
|
(define-public rust-rust-argon2-0.8
|
||||||
|
(package
|
||||||
|
(name "rust-rust-argon2")
|
||||||
|
(version "0.8.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rust-argon2" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-base64" ,rust-base64-0.13)
|
||||||
|
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
|
||||||
|
("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
|
||||||
|
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
|
||||||
|
("rust-serde" ,rust-serde-1))))
|
||||||
|
(home-page "https://github.com/sru-systems/rust-argon2")
|
||||||
|
(synopsis "Argon2 password hashing function in Rust")
|
||||||
|
(description
|
||||||
|
"This package provides a Rust implementation of the Argon2 password
|
||||||
|
hashing function.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-rust-argon2-0.7
|
(define-public rust-rust-argon2-0.7
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rust-argon2-0.8)
|
||||||
(name "rust-rust-argon2")
|
(name "rust-rust-argon2")
|
||||||
(version "0.7.0")
|
(version "0.7.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "rust-argon2" version))
|
(uri (crate-uri "rust-argon2" version))
|
||||||
(file-name
|
(file-name
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b"))))
|
||||||
"05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b"))))
|
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
|
(("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
|
||||||
("rust-base64" ,rust-base64-0.11)
|
("rust-base64" ,rust-base64-0.11)
|
||||||
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
|
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
|
||||||
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))))
|
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))))))
|
||||||
(home-page "https://github.com/sru-systems/rust-argon2")
|
|
||||||
(synopsis
|
|
||||||
"Rust implementation of the Argon2 password hashing function")
|
|
||||||
(description
|
|
||||||
"This package provides a Rust implementation of the Argon2 password
|
|
||||||
hashing function.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-rust-argon2-0.5
|
(define-public rust-rust-argon2-0.5
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue