diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:38:13 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 14:59:29 +0300 |
commit | b6cca9aab4acd6e4f6b4ac37b6f78a15c86e5ddd (patch) | |
tree | 02d926728ffd37bb989f70f1d78cd1ec79c279a7 /gnu | |
parent | c61ccd3e68c612c911773ebd658cd1a4f602b24f (diff) | |
download | guix-b6cca9aab4acd6e4f6b4ac37b6f78a15c86e5ddd.tar guix-b6cca9aab4acd6e4f6b4ac37b6f78a15c86e5ddd.tar.gz |
gnu: Add rust-md-5-0.9.
* gnu/packages/crates-io.scm (rust-md-5-0.9): New variable.
(rust-md-5-0.8): Inherit from rust-md-5-0.9.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d5fa0a494d..6a4c30836d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12627,8 +12627,37 @@ 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.9 + (package + (name "rust-md-5") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "md-5" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14x7yxfi4pk4qy3zmn9dj69yc18fg3cyind346kribjd93077qij")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.8) + ("rust-digest" ,rust-digest-0.9) + ("rust-md5-asm" ,rust-md5-asm-0.4) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #: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)))) + (define-public rust-md-5-0.8 (package + (inherit rust-md-5-0.9) (name "rust-md-5") (version "0.8.0") (source @@ -12640,7 +12669,6 @@ parallelize and optimize.") (sha256 (base32 "1j5rfxy2p76xf5f1lgaw85xla0b1bbv2lknvdhv1j0ibmzfg72m1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-block-buffer" ,rust-block-buffer-0.7) @@ -12649,11 +12677,7 @@ parallelize and optimize.") ("rust-opaque-debug" ,rust-opaque-debug-0.2)) #:cargo-development-inputs (("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))) - (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.1)))))) (define-public rust-md5-0.6 (package |