diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 17:49:16 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:40 +0100 |
commit | 480bba5b5e05ce4e46aa82ad36fb4a97f6b53653 (patch) | |
tree | 6819fbe710cfac115686328450fe2d692d23f6c4 | |
parent | 144c7e508ad1750654828024daa4d9e3f68b95d1 (diff) | |
download | guix-patches-480bba5b5e05ce4e46aa82ad36fb4a97f6b53653.tar guix-patches-480bba5b5e05ce4e46aa82ad36fb4a97f6b53653.tar.gz |
gnu: Add rust-dtparse-1.
* gnu/packages/crates-io.scm (rust-dtparse-1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
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") |