aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-26 19:27:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-28 08:48:18 +0300
commit096a712e429fa803db15801a1a58550a5240c8ee (patch)
tree6e35550dc6e05eec4a35fd472a3e53e30217ac1c /gnu
parent8e0767b985a4370e1c94f49e050e17a55a19e654 (diff)
downloadguix-096a712e429fa803db15801a1a58550a5240c8ee.tar.gz
guix-096a712e429fa803db15801a1a58550a5240c8ee.zip
gnu: Add rust-md-5-0.8.
* gnu/packages/crates-io.scm (rust-md-5-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe48836f78..8ba1413da9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12464,6 +12464,34 @@ 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.8
+ (package
+ (name "rust-md-5")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "md-5" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1j5rfxy2p76xf5f1lgaw85xla0b1bbv2lknvdhv1j0ibmzfg72m1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-block-buffer" ,rust-block-buffer-0.7)
+ ("rust-digest" ,rust-digest-0.8)
+ ("rust-md5-asm" ,rust-md5-asm-0.4)
+ ("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))))
+
(define-public rust-md5-0.6
(package
(name "rust-md5")