guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/43: gnu: Add rust-md5.


From: guix-commits
Subject: 18/43: gnu: Add rust-md5.
Date: Mon, 12 Aug 2019 05:02:12 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 0c6759d87e00f954713b195100d0dc5febd3f9f6
Author: Efraim Flashner <address@hidden>
Date:   Sun Aug 4 13:53:09 2019 +0300

    gnu: Add rust-md5.
    
    * gnu/packages/creates-io.scm (rust-md5): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e379fb..ac5d68a 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]