diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-04 13:15:43 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:04 -0500 |
commit | 01820c21cef0b00e7b08ff6ab58ae97041fa0945 (patch) | |
tree | 0375c7b64dc392f118c95277fd3ea8e0535820d8 | |
parent | 4e0544f66108a46f66fa400fe2f7fdf6eba72246 (diff) | |
download | guix-01820c21cef0b00e7b08ff6ab58ae97041fa0945.tar guix-01820c21cef0b00e7b08ff6ab58ae97041fa0945.tar.gz |
gnu: Add rust-chrono-tz-0.6.
* gnu/packages/crates-io.scm (rust-chrono-tz-0.6): New variable.
(rust-chrono-tz-0.5): Inherit from above.
(rust-chrono-tz-build-0.0.2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 58 |
1 files changed, 53 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a62bfbbf3..5de7bdad48 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8974,8 +8974,36 @@ Encoding Standard.") Python arrow.humanize.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-0.6 + (package + (name "rust-chrono-tz") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12qcpjqva4fpj5kdcksbfhsc8dkbdhyi2z56p8dwf9bxc0f1rh34")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.0.2) + ("rust-phf" ,rust-phf-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-uncased" ,rust-uncased-0.9)))) + (home-page "https://github.com/chronotope/chrono-tz") + (synopsis "TimeZone implementations for rust-chrono from the IANA database") + (description + "Chrono-TZ is a library that provides implementors of the TimeZone trait +for @code{rust-chrono}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-tz-0.5 (package + (inherit rust-chrono-tz-0.6) (name "rust-chrono-tz") (version "0.5.3") (source @@ -8985,18 +9013,38 @@ Python arrow.humanize.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "085i4940kn0fn4gkl3xi1kv3vp2frhfig1vla1i461pcbwas6m15")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) - ("rust-serde" ,rust-serde-1)))) + ("rust-serde" ,rust-serde-1)))))) + +(define-public rust-chrono-tz-build-0.0.2 + (package + (name "rust-chrono-tz-build") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0schy3z03psvmc6734hgkx52cdb3zvixgzhvhr0mzxmj7x4qs1fv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) + ("rust-phf" ,rust-phf-0.10) + ("rust-phf-codegen" ,rust-phf-codegen-0.10) + ("rust-regex" ,rust-regex-1) + ("rust-uncased" ,rust-uncased-0.9)))) (home-page "https://github.com/chronotope/chrono-tz") - (synopsis "TimeZone implementations for rust-chrono from the IANA database") + (synopsis "Internal build script for chrono-tz Rust package") (description - "Chrono-TZ is a library that provides implementors of the -TimeZone trait for @code{rust-chrono}.") + "This package contains the internal build script for +chrono-tz Rust crate.") (license (list license:expat license:asl2.0)))) (define-public rust-chunked-transfer-1 |