diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-11-20 08:26:54 -0600 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-12 22:58:18 +0200 |
commit | 24e6f5a2a974be09a3029c51b5b9220235237cfb (patch) | |
tree | c9c1eade2acf8802aa7686e65440aa9c97e43292 /gnu/packages | |
parent | fb7f184af4779bf516b55782c393a7330b3ea770 (diff) | |
download | guix-patches-24e6f5a2a974be09a3029c51b5b9220235237cfb.tar guix-patches-24e6f5a2a974be09a3029c51b5b9220235237cfb.tar.gz |
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 <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files 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 @@ depending on a large number of #[cfg] parameters. Structured like an (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 @@ depending on a large number of #[cfg] parameters. Structured like an (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)))) |