summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 13:53:09 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:26 +0300
commit0c6759d87e00f954713b195100d0dc5febd3f9f6 (patch)
treefe9a4a555e6cb783fb0072a3c18519b6f4dfc232 /gnu/packages
parente7ffbe2fda64d4a399ca325bc446df0837be1844 (diff)
gnu: Add rust-md5.
* gnu/packages/creates-io.scm (rust-md5): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e379fbdb9..ac5d68ae4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -352,6 +352,25 @@ friction with idiomatic Rust structs to ease interopability.")
whether an expression matches a pattern.")
(license license:expat)))
+(define-public rust-md5
+ (package
+ (name "rust-md5")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "md5" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/stainless-steel/md5")
+ (synopsis "MD5 hash function in Rust")
+ (description "The package provides the MD5 hash function.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")