summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 12:17:28 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-11 20:35:14 -0400
commit0757d7986d96d920d8a3a8ceedb985b9246ac50d (patch)
treee0de5cfc6f4c0de53808c581f7ebfb2a54342e57 /gnu/packages
parentd8c656ce283b0764279d945372149869064c0dff (diff)
gnu: Add rust-iana-time-zone-0.1.
* gnu/packages/crates-io.scm (rust-iana-time-zone-0.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fcb6297fad..58888b5376 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27305,6 +27305,35 @@ with hyper.")
"This package provides iana-time-zone support crate for Haiku OS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-iana-time-zone-0.1
+ (package
+ (name "rust-iana-time-zone")
+ (version "0.1.53")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "iana-time-zone" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ra7nvai8n3alvljswacjbnhfcpivpi7xqbc5n048w18gdk25hb4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs
+ (("rust-android-system-properties" ,rust-android-system-properties-0.1)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+ ("rust-iana-time-zone-haiku" ,rust-iana-time-zone-haiku-0.1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/strawlab/iana-time-zone")
+ (synopsis "IANA time zone")
+ (description
+ "This package provides the IANA time zone for the current system.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ident-case-1
(package
(name "rust-ident-case")