summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:04:59 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:07 +0100
commit0d653629163bbba89cc4162789afb26fd136eff6 (patch)
tree4e5e8c9ef9800432b5c0fe1985163bb86044369c /gnu
parent84cc2bdc3a38da0e512ab29df06eb9fba74f3e0a (diff)
downloadguix-0d653629163bbba89cc4162789afb26fd136eff6.tar.gz
gnu: rust-md5-0.7: Update to 0.7.0.
* gnu/packages/crates-io.scm (rust-md5-0.7): Update to 0.7.0.
(rust-md5-0.6): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 21 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4be37d7879..f5538d3a6c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22262,8 +22262,28 @@ parallelize and optimize.")
        (("rust-digest" ,rust-digest-0.8)
         ("rust-hex-literal" ,rust-hex-literal-0.1))))))
 
+(define-public rust-md5-0.7
+  (package
+    (name "rust-md5")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "md5" version))
+       (file-name (string-append name "-" version ".crate"))
+       (sha256
+        (base32 "0wcps37hrhz59fkhf8di1ppdnqld6l1w5sdy7jp7p51z0i4c8329"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (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-md5-0.6
   (package
+    (inherit rust-md5-0.7)
     (name "rust-md5")
     (version "0.6.1")
     (source
@@ -22273,13 +22293,7 @@ parallelize and optimize.")
         (file-name (string-append name "-" version ".crate"))
         (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))))
+          "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))))
 
 (define-public rust-md5-0.3
   (package