gnu: Add rust-humantime-1.2.
* gnu/packages/crates-io.scm (rust-humantime-1.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
352741cdbb
commit
e398ecc48d
@ -1379,6 +1379,37 @@ hexadecimal representation.")
|
|||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-humantime-1.2
|
||||||
|
(package
|
||||||
|
(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"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(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))))
|
||||||
|
(home-page
|
||||||
|
"https://github.com/tailhook/humantime")
|
||||||
|
(synopsis
|
||||||
|
"Parser and formatter for Duration and SystemTime")
|
||||||
|
(description
|
||||||
|
"A parser and formatter for @code{std::time::{Duration,
|
||||||
|
SystemTime}}.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-hostname-0.1
|
(define-public rust-hostname-0.1
|
||||||
(package
|
(package
|
||||||
(name "rust-hostname")
|
(name "rust-hostname")
|
||||||
|
Loading…
Reference in New Issue
Block a user