From 24e6f5a2a974be09a3029c51b5b9220235237cfb Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:26:54 -0600 Subject: [PATCH] gnu: rust-chrono-0.4: Update to 0.4.19. * gnu/packages/crates-io.scm (rust-chrono-0.4): Update to 0.4.19. [arguments]: In cargo-inputs add rust-libc-0.2, rust-pure-rust-locales-0.5. In cargo-development-inputs replace rust-criterion-0.2 with 0.3, rust-wasm-bindgen-test-0.2 with 0.3. Don't skip build, skip tests. Build with 'unstable-locales' features. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8d176ea18e..b0362c9f4e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3786,7 +3786,7 @@ (define-public rust-cfg-if-0.1 (define-public rust-chrono-0.4 (package (name "rust-chrono") - (version "0.4.13") + (version "0.4.19") (source (origin (method url-fetch) @@ -3795,28 +3795,30 @@ (define-public rust-chrono-0.4 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dm0q1kmk2vq5djwhp1j9cm4aa38wr9vy1i1w19p2y0nj4188kf7")))) + "0wyfl6c00vhfl562spnfcna3zkw8jqvcp652m9iskhl8j26dc2k7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-integer" ,rust-num-integer-0.1) + `(#:cargo-inputs + (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.5) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-1) ("rust-time" ,rust-time-0.1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) #:cargo-development-inputs - (;("rust-bincode" ,rust-bincode-0.8) - ("rust-criterion" ,rust-criterion-0.2) + (("rust-bincode" ,rust-bincode-0.8) + ("rust-criterion" ,rust-criterion-0.3) ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-num-iter" ,rust-num-iter-0.1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) - (home-page - "https://github.com/chronotope/chrono") + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)) + #:features '("unstable-locales") + #:tests? #f)) + (home-page "https://github.com/chronotope/chrono") (synopsis "Date and time library for Rust") (description "Date and time library for Rust.") (license (list license:expat license:asl2.0))))