summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2846b997f5..9ed8bc6e39 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10003,10 +10003,10 @@ or response body.")
      "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-humantime-1.3
+(define-public rust-humantime-2
   (package
     (name "rust-humantime")
-    (version "1.3.0")
+    (version "2.0.1")
     (source
      (origin
        (method url-fetch)
@@ -10015,15 +10015,12 @@ or response body.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0krwgbf35pd46xvkqg14j070vircsndabahahlv3rwhflpy4q06z"))))
+         "0yivhqyi8xik2j6sd3q45ybakjx8jsx5632dx9xjn0birh4dj6iw"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-quick-error" ,rust-quick-error-1.2))
-       #:cargo-development-inputs
+     `(#:cargo-development-inputs
        (("rust-chrono" ,rust-chrono-0.4)
-        ("rust-rand" ,rust-rand-0.4)
+        ("rust-rand" ,rust-rand-0.6)
         ("rust-time" ,rust-time-0.1))))
     (home-page "https://github.com/tailhook/humantime")
     (synopsis
@@ -10033,6 +10030,29 @@ or response body.")
 SystemTime}}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-humantime-1.3
+  (package
+    (inherit rust-humantime-2)
+    (name "rust-humantime")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "humantime" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0krwgbf35pd46xvkqg14j070vircsndabahahlv3rwhflpy4q06z"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-quick-error" ,rust-quick-error-1.2))
+       #:cargo-development-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-rand" ,rust-rand-0.4)
+        ("rust-time" ,rust-time-0.1))))))
+
 (define-public rust-hyper-0.12
   (package
     (name "rust-hyper")