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
parent
7f57a465f0
commit
c0eabcef45
|
@ -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")
|
||||
|
|
Reference in New Issue