diff options
author | Marius Bakke <marius@gnu.org> | 2022-12-01 19:41:55 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-12-02 19:35:45 +0100 |
commit | ddb87e8acc2af92bb8566429d287210935361aa4 (patch) | |
tree | cbd1e5a1e02876ca197685cb699b0ba5ca37b5db /gnu | |
parent | 3492a0192817065be430770836d505420b8687f9 (diff) | |
download | guix-ddb87e8acc2af92bb8566429d287210935361aa4.tar guix-ddb87e8acc2af92bb8566429d287210935361aa4.tar.gz |
gnu: rust-md-5: Add 0.10.5.
* gnu/packages/crates-io.scm (rust-md-5-0.10): New variable.
(rust-md-5-0.9): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f48d1f7221..57ce82b021 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32395,8 +32395,33 @@ parallelize and optimize.") "This package provides MaybeUninit for friends of backwards compatibility.") (license (list license:asl2.0 license:expat)))) +(define-public rust-md-5-0.10 + (package + (name "rust-md-5") + (version "0.10.5") + (source (origin + (method url-fetch) + (uri (crate-uri "md-5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jmrykh705dfclkgxwjysj5y8l1nyrn1gddw5xpgyjyla1l50rb3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-md5-asm" ,rust-md5-asm-0.5)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "MD5 hash function") + (description + "This library provides a MD5 hash function for Rust.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + (define-public rust-md-5-0.9 (package + (inherit rust-md-5-0.10) (name "rust-md-5") (version "0.9.1") (source @@ -32408,7 +32433,6 @@ parallelize and optimize.") (sha256 (base32 "059ajjacz1q3cms7vl6cvhdqs4qdw2nnwj9dq99ryzv0p6djfnkv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-block-buffer" ,rust-block-buffer-0.9) @@ -32417,11 +32441,7 @@ parallelize and optimize.") ("rust-opaque-debug" ,rust-opaque-debug-0.3)) #:cargo-development-inputs (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "MD5 hash function") - (description "MD5 hash function.") - (license (list license:expat license:asl2.0)))) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) (define-public rust-md-5-0.8 (package |