From 2e54b8d9c41c80c7bfb6c2ee1e6728a44643ec89 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 31 Jan 2020 21:28:29 -0800 Subject: [PATCH 20/22] gnu: Add rust-zoneinfo-compiled-0.4. * gnu/packages/crates-io.scm (rust-zoneinfo-compiled-0.4): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b615d36c50..db210d6d61 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14244,3 +14244,30 @@ to XDG Base Directory specification") (description "The missing YAML 1.2 parser for rust.") (license (list license:asl2.0 license:expat)))) + +(define-public rust-zoneinfo-compiled-0.4 + (package + (name "rust-zoneinfo-compiled") + (version "0.4.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "zoneinfo_compiled" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bnm19w791q6kp79s0zl1cj9w51bw5xrifrxfy3g1p05i676y4vf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-datetime" ,rust-datetime-0.4)))) + (home-page + "https://github.com/rust-datetime/zoneinfo-compiled/") + (synopsis + "Library for parsing compiled zoneinfo files") + (description + "Library for parsing compiled zoneinfo files.") + (license license:expat))) -- 2.25.0