From 0757d7986d96d920d8a3a8ceedb985b9246ac50d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 22 Feb 2023 12:17:28 +0200 Subject: [PATCH] gnu: Add rust-iana-time-zone-0.1. * gnu/packages/crates-io.scm (rust-iana-time-zone-0.1): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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 @@ (define-public rust-iana-time-zone-haiku-0.1 "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")