guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

283/422: gnu: Add rust-chrono-tz-build-0.3.


From: guix-commits
Subject: 283/422: gnu: Add rust-chrono-tz-build-0.3.
Date: Wed, 6 Nov 2024 04:02:42 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit b252ce46a6788d83afd6b50bb573242fcdbf13a0
Author: Steve George <steve@futurile.net>
AuthorDate: Wed Oct 2 08:26:37 2024 +0100

    gnu: Add rust-chrono-tz-build-0.3.
    
    * gnu/packages/crates-io.scm (rust-chrono-tz-build-0.3): New variable.
    (rust-chrono-tz-build-0.2): Inherit from rust-chrono-tx-build-0.3.
    
    Change-Id: I208fd128e14a5a50883b2a3490892351fce02a74
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 831390b186..9031644b3e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12718,17 +12718,17 @@ for @code{rust-chrono}.")
         ("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3)
         ("rust-serde" ,rust-serde-1))))))
 
-(define-public rust-chrono-tz-build-0.2
+(define-public rust-chrono-tz-build-0.3
   (package
     (name "rust-chrono-tz-build")
-    (version "0.2.1")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "chrono-tz-build" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "03rmzd69cn7fp0fgkjr5042b3g54s2l941afjm3001ls7kqkjgj3"))))
+        (base32 "1c8ixwwwsn9kgs1dr5mz963p0fgw9j9p7fzb3w2c7y8xhkp8l20c"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -12739,11 +12739,31 @@ for @code{rust-chrono}.")
         ("rust-uncased" ,rust-uncased-0.9))))
     (home-page "https://github.com/chronotope/chrono-tz";)
     (synopsis "Internal build script for chrono-tz Rust package")
-    (description
-     "This package contains the internal build script for
-chrono-tz Rust crate.")
+    (description "This package contains the internal build script for
+the chrono-tz Rust crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-chrono-tz-build-0.2
+  (package
+    (inherit rust-chrono-tz-build-0.3)
+    (name "rust-chrono-tz-build")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "chrono-tz-build" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03rmzd69cn7fp0fgkjr5042b3g54s2l941afjm3001ls7kqkjgj3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3)
+        ("rust-phf" ,rust-phf-0.11)
+        ("rust-phf-codegen" ,rust-phf-codegen-0.11)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-uncased" ,rust-uncased-0.9))))))
+
 (define-public rust-chrono-tz-build-0.0.3
   (package
     (inherit rust-chrono-tz-build-0.2)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]