mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 10:55:23 -05:00
gnu: Add rust-digest-0.9.
* gnu/packages/crates-io.scm (rust-digest-0.9): New variable. (rust-digest-0.8): Inherit from rust-digest-0.9.
This commit is contained in:
parent
526badd606
commit
3bb18715a9
1 changed files with 26 additions and 7 deletions
|
@ -5156,8 +5156,33 @@ (define-public rust-difference-1
|
|||
#:cargo-development-inputs
|
||||
(("rust-term" ,rust-term-0.2))))))
|
||||
|
||||
(define-public rust-digest-0.9
|
||||
(package
|
||||
(name "rust-digest")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "digest" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-blobby" ,rust-blobby-0.1)
|
||||
("rust-generic-array" ,rust-generic-array-0.14))))
|
||||
(home-page "https://github.com/RustCrypto/traits")
|
||||
(synopsis "Traits for cryptographic hash functions")
|
||||
(description
|
||||
"Traits for cryptographic hash functions.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-digest-0.8
|
||||
(package
|
||||
(inherit rust-digest-0.9)
|
||||
(name "rust-digest")
|
||||
(version "0.8.1")
|
||||
(source
|
||||
|
@ -5169,17 +5194,11 @@ (define-public rust-digest-0.8
|
|||
(sha256
|
||||
(base32
|
||||
"1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-blobby" ,rust-blobby-0.1)
|
||||
("rust-generic-array" ,rust-generic-array-0.13))))
|
||||
(home-page "https://github.com/RustCrypto/traits")
|
||||
(synopsis "Traits for cryptographic hash functions")
|
||||
(description
|
||||
"Traits for cryptographic hash functions.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-generic-array" ,rust-generic-array-0.13))))))
|
||||
|
||||
(define-public rust-dirs-2.0
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue