guix-commits
[Top][All Lists]
Advanced

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

145/281: gnu: Add rust-toml-datetime-0.6.


From: guix-commits
Subject: 145/281: gnu: Add rust-toml-datetime-0.6.
Date: Wed, 22 Feb 2023 05:41:02 -0500 (EST)

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

commit 7c2e4f8f14951564cb7e84bbb47ed071a1af9b1f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Feb 20 19:01:33 2023 +0200

    gnu: Add rust-toml-datetime-0.6.
    
    * gnu/packages/crates-io.scm (rust-toml-datetime-0.6): New variable.
    (rust-toml-datetime-0.5): Inherit from rust-tomldatetime-0.6.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6ed3c7de60..fa7f2a9ee9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62854,17 +62854,16 @@ serializing Rust structures.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-toml-datetime-0.5
+(define-public rust-toml-datetime-0.6
   (package
     (name "rust-toml-datetime")
-    (version "0.5.0")
+    (version "0.6.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "toml_datetime" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32
-                "1zcjvygkix0hm7nv7i6ag4fd0l1pglga1wyq2l8zgy0fgpjm32w0"))))
+               (base32 
"08lndxs1bval859mlas0k4f032s26c9k6pzd589m02z1vqpfvf1s"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
@@ -62875,6 +62874,21 @@ serializing Rust structures.")
     ;; The user can choose either license.
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-toml-datetime-0.5
+  (package
+    (inherit rust-toml-datetime-0.6)
+    (name "rust-toml-datetime")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "toml_datetime" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1zcjvygkix0hm7nv7i6ag4fd0l1pglga1wyq2l8zgy0fgpjm32w0"))))
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))))
+
 (define-public rust-toml-edit-0.14
   (package
     (name "rust-toml-edit")



reply via email to

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