diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8b2a5888d6..edcff1cb31 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22033,26 +22033,24 @@ 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 +(define-public rust-dtparse-2 (package (name "rust-dtparse") - (version "1.3.0") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "dtparse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1awhyy58c28fhr5nvvfpikdzraihichkz3w1mzdg7smyffldi4w2")))) + (base32 "0fg8h07m0z38c6i556dfmgnhl18i8w37cl235iyfzc9l3kz7r325")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rust-decimal" ,rust-rust-decimal-1)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.13)))) + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rust-decimal" ,rust-rust-decimal-1)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21)))) (home-page "https://github.com/bspeice/dtparse.git") (synopsis "Dateutil-compatible timestamp parser for Rust") (description @@ -22060,6 +22058,25 @@ floating-point primitives to an @code{io::Write}.") Rust.") (license license:asl2.0))) +(define-public rust-dtparse-1 + (package + (inherit rust-dtparse-2) + (name "rust-dtparse") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dtparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1awhyy58c28fhr5nvvfpikdzraihichkz3w1mzdg7smyffldi4w2")))) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rust-decimal" ,rust-rust-decimal-1)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13)))))) + (define-public rust-duct-0.13 (package (name "rust-duct") |