summary refs log tree commit diff
diff options
context:
space:
mode:
authorgyara <me@gyara.moe>2022-08-27 19:10:43 +0900
committerEfraim Flashner <efraim@flashner.co.il>2022-09-28 13:52:11 +0300
commit7d60052de88e3eb14235232073d864c66a7632ab (patch)
tree69fdece51e29e06ce3630a744b80b1314503609d
parentb3157f6ba43bfe91c33c27ffc1660dca642bf6da (diff)
downloadguix-7d60052de88e3eb14235232073d864c66a7632ab.tar.gz
gnu: Add rust-zoneinfo-compiled-0.5.
* gnu/packages/crates-io.scm (rust-zoneinfo-compiled-0.5): New variable.
(rust-zoneinfo-compiled-0.4): Inherit from rust-zoneinfo-compiled-0.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f1d2333cd..1f4fa10524 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74409,10 +74409,10 @@ implementation that works everywhere, even WASM!")
      "Library to support the reading and writing of zip files.")
     (license license:expat)))
 
-(define-public rust-zoneinfo-compiled-0.4
+(define-public rust-zoneinfo-compiled-0.5
   (package
     (name "rust-zoneinfo-compiled")
-    (version "0.4.8")
+    (version "0.5.1")
     (source
       (origin
         (method url-fetch)
@@ -74421,18 +74421,37 @@ implementation that works everywhere, even WASM!")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0bnm19w791q6kp79s0zl1cj9w51bw5xrifrxfy3g1p05i676y4vf"))))
+          "1pm50w4vv34r08mrajfvyhc1254gv8zv4q6p7gs315c9bvkfpyv4"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-byteorder" ,rust-byteorder-1)
-        ("rust-datetime" ,rust-datetime-0.4))))
+        ("rust-datetime" ,rust-datetime-0.5))))
     (home-page "https://github.com/rust-datetime/zoneinfo-compiled/")
     (synopsis "Library for parsing compiled zoneinfo files")
     (description
      "This package provides a library for parsing compiled zoneinfo files.")
     (license license:expat)))
 
+(define-public rust-zoneinfo-compiled-0.4
+  (package
+    (inherit rust-zoneinfo-compiled-0.5)
+    (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"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-datetime" ,rust-datetime-0.4))))))
+
 (define-public rust-zstd-0.9
   (package
     (name "rust-zstd")