aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 09:48:22 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-20 17:20:41 +0200
commit7e7fd7fadc0923b0884a2666a92c45ae80bae926 (patch)
treeedc13ef482bd4964cf7fe4f9a2a34add651eeb30
parenta842e3625990a2e90ffd5a6114526b1a81a6c4cb (diff)
downloadpatches-7e7fd7fadc0923b0884a2666a92c45ae80bae926.tar
patches-7e7fd7fadc0923b0884a2666a92c45ae80bae926.tar.gz
gnu: Add rust-humantime-1.3.
* gnu/packages/crates-io.scm (rust-humantime-1.3): New variable. (rust-humantime-1.2): Inherit from rust-humantime-1.3. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 19 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e2a835e264..639446878d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4482,10 +4482,10 @@ requests and responses.")
"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.2
+(define-public rust-humantime-1.3
(package
(name "rust-humantime")
- (version "1.2.0")
+ (version "1.3.0")
(source
(origin
(method url-fetch)
@@ -4494,7 +4494,7 @@ requests and responses.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "057ilhy6vc9iqhhby5ymh45m051pgxwq2z437gwkbnqhw7rfb9rw"))))
+ "0krwgbf35pd46xvkqg14j070vircsndabahahlv3rwhflpy4q06z"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -4504,8 +4504,7 @@ requests and responses.")
(("rust-chrono" ,rust-chrono-0.4)
("rust-rand" ,rust-rand-0.4)
("rust-time" ,rust-time-0.1))))
- (home-page
- "https://github.com/tailhook/humantime")
+ (home-page "https://github.com/tailhook/humantime")
(synopsis
"Parser and formatter for Duration and SystemTime")
(description
@@ -4513,6 +4512,21 @@ requests and responses.")
SystemTime}}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-humantime-1.2
+ (package
+ (inherit rust-humantime-1.3)
+ (name "rust-humantime")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "humantime" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "057ilhy6vc9iqhhby5ymh45m051pgxwq2z437gwkbnqhw7rfb9rw"))))))
+
(define-public rust-hostname-0.1
(package
(name "rust-hostname")