me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-sha-1-0.8

* gnu/packages/crates-io.scm (rust-sha-1-0.8): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
John Soo 2019-12-14 20:27:43 -08:00 committed by Efraim Flashner
parent 7f57a465f0
commit c0eabcef45
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 30 additions and 0 deletions

View File

@ -6521,6 +6521,36 @@ Pwrite traits from the scroll crate.")
"Token De/Serializer for testing De/Serialize implementations.")
(license (list license:expat license:asl2.0))))
(define-public rust-sha-1-0.8
(package
(name "rust-sha-1")
(version "0.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "sha-1" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0s6fdy5wp3x4h2z4fcl2d9vjvrpzr87v4h49r51xcq8nm4qj35i3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-block-buffer" ,rust-block-buffer-0.7)
("rust-digest" ,rust-digest-0.8)
("rust-fake-simd" ,rust-fake-simd-0.1)
("rust-opaque-debug" ,rust-opaque-debug-0.2)
("rust-sha1-asm" ,rust-sha1-asm-0.4))
#:cargo-development-inputs
(("rust-digest" ,rust-digest-0.8)
("rust-hex-literal" ,rust-hex-literal-0.2))))
(home-page "https://github.com/RustCrypto/hashes")
(synopsis "SHA-1 hash function")
(description "SHA-1 hash function.")
(license (list license:asl2.0 license:expat))))
(define-public rust-sha1-0.6
(package
(name "rust-sha1")