diff options
author | Steve George <steve@futurile.net> | 2024-10-02 12:15:48 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:04:49 +0200 |
commit | 850e99004a08c4b57ae26eca088521fea03fd4b6 (patch) | |
tree | 3182db5859f0595a55fb5f3252d8d873a2dba85a /gnu | |
parent | 9008b6113b5bf4c3129321251d6d4dfb4e7a5508 (diff) | |
download | guix-850e99004a08c4b57ae26eca088521fea03fd4b6.tar.gz guix-850e99004a08c4b57ae26eca088521fea03fd4b6.zip |
gnu: Add rust-tzfile-0.1.
* gnu/packages/crates-io.scm (rust-tzfile-0.1): New variable.
Change-Id: I8fa069046cdad22dc5da14fbf1757f4af8399ff0
Diffstat (limited to 'gnu')
-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 c741038487..6f2e9102b8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -87491,6 +87491,33 @@ localtime, gmtime and mktime.") "This package provides static, #![no_std] time zone information for tz-rs.") (license license:expat-0))) +(define-public rust-tzfile-0.1 + (package + (name "rust-tzfile") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tzfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bjrlhi0wy5560vwjszksyzbxidvfdr01911mp3y8dr55b22577m")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; 31 online tests fail + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.5) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/kennytm/tzfile") + (synopsis "chrono::TimeZone implementation using system time-zone database") + (description + "This package provides a chrono::@code{TimeZone} implementation using +system tz database.") + (license license:expat))) + (define-public rust-ubyte-0.10 (package (name "rust-ubyte") |