aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:49:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:40 +0100
commit480bba5b5e05ce4e46aa82ad36fb4a97f6b53653 (patch)
tree6819fbe710cfac115686328450fe2d692d23f6c4 /gnu
parent144c7e508ad1750654828024daa4d9e3f68b95d1 (diff)
downloadguix-480bba5b5e05ce4e46aa82ad36fb4a97f6b53653.tar
guix-480bba5b5e05ce4e46aa82ad36fb4a97f6b53653.tar.gz
gnu: Add rust-dtparse-1.
* gnu/packages/crates-io.scm (rust-dtparse-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99a1cf1325..c2f9c8c738 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11611,6 +11611,33 @@ floating-point primitives to an @code{io::Write}.")
"Serialize float number and truncate to certain precision in Rust.")
(license license:mpl2.0)))
+(define-public rust-dtparse-1
+ (package
+ (name "rust-dtparse")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dtparse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xh9hasfffnfyv8q9pwr31g63rigfx114qz6xw05wdkzpmfnq9qk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chrono-tz" ,rust-chrono-tz-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rust-decimal" ,rust-rust-decimal-0.10))))
+ (home-page "https://github.com/bspeice/dtparse.git")
+ (synopsis "Dateutil-compatible timestamp parser for Rust")
+ (description
+ "This package provides a @code{dateutil}-compatible timestamp parser for
+Rust.")
+ (license license:asl2.0)))
+
(define-public rust-duct-0.13
(package
(name "rust-duct")