gnu: Add rust-tzfile-0.1.

* gnu/packages/crates-io.scm (rust-tzfile-0.1): New variable.

Change-Id: I8fa069046cdad22dc5da14fbf1757f4af8399ff0
This commit is contained in:
Steve George 2024-10-02 12:15:48 +01:00 committed by Efraim Flashner
parent 9008b6113b
commit 850e99004a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -87491,6 +87491,33 @@ (define-public rust-tzdb-data-0.1
"This package provides static, #![no_std] time zone information for tz-rs.") "This package provides static, #![no_std] time zone information for tz-rs.")
(license license:expat-0))) (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 (define-public rust-ubyte-0.10
(package (package
(name "rust-ubyte") (name "rust-ubyte")