diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-08-04 12:43:04 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-08-04 20:45:39 +0200 |
commit | 142a02988e4ab5a578598c5b4d53c72f7e9f6b8f (patch) | |
tree | 31ef011dd0f89b1ba59aa281472a1844bc079154 /gnu/packages/crates-io.scm | |
parent | a537ef5e0ceca76de0073541c98999bb206052b3 (diff) | |
download | guix-142a02988e4ab5a578598c5b4d53c72f7e9f6b8f.tar.gz |
gnu: Add rust-chrono-humanize-0.2.
* gnu/packages/crates-io.scm (rust-chrono-humanize-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9b00e6762d..aff966dcb4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7776,6 +7776,30 @@ clauses.") (description "Date and time library for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-humanize-0.2 + (package + (name "rust-chrono-humanize") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-humanize" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jvm6fcs3zvz4kcqkp9q5hjy0i2zc17194nb63ckyn0xa0cw3p9f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4)))) + (home-page "https://gitlab.com/imp/chrono-humanize-rs") + (synopsis "Human-friendly time expressions") + (description + "Chrono-Humanize provides human-friendly time expressions, similar to +Python arrow.humanize.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-tz-0.5 (package (name "rust-chrono-tz") |