mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: Add rust-sha256-1.
* gnu/packages/crates-crypto.scm (rust-sha256-1): New variable. Change-Id: Ia78b0758ad3b422af67d6db9e5a9ea738c17e12b
This commit is contained in:
parent
2252cd45f5
commit
a48fc00ee1
1 changed files with 26 additions and 0 deletions
|
@ -5755,6 +5755,32 @@ (define-public rust-sha2-asm-0.5
|
|||
(sha256
|
||||
(base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj"))))))
|
||||
|
||||
(define-public rust-sha256-1
|
||||
(package
|
||||
(name "rust-sha256")
|
||||
(version "1.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "sha256" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1c35j1z4inpz7fwa6vy0xf3arffz5mykyj8nlc50g8sgj5m8y9qq"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
|
||||
("rust-bytes" ,rust-bytes-1)
|
||||
("rust-hex" ,rust-hex-0.4)
|
||||
("rust-openssl" ,rust-openssl-0.10)
|
||||
("rust-sha2" ,rust-sha2-0.10)
|
||||
("rust-tokio" ,rust-tokio-1))
|
||||
#:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)
|
||||
("rust-tokio-test" ,rust-tokio-test-0.4))))
|
||||
(home-page "https://github.com/baoyachi/sha256-rs")
|
||||
(synopsis "Sha256 crypto digest")
|
||||
(description "This package provides the sha256 crypto digest in Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-sha3-0.10
|
||||
(package
|
||||
(name "rust-sha3")
|
||||
|
|
Loading…
Reference in a new issue