guix-commits
[Top][All Lists]
Advanced

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

71/471: gnu: Add rust-toml-0.6.


From: guix-commits
Subject: 71/471: gnu: Add rust-toml-0.6.
Date: Wed, 3 May 2023 09:27:03 -0400 (EDT)

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

commit 44411f0423801447d62acf9a361da14640c22939
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 11:53:17 2023 +0200

    gnu: Add rust-toml-0.6.
    
    * gnu/packages/crates-io.scm (rust-toml-0.6): New variable.
    (rust-toml-0.5): Inherit from rust-toml-0.6.
---
 gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa3fe17e9c..3123cf5075 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63842,26 +63842,30 @@ stream-based WebSocket implementation.")
         ("rust-tokio" ,rust-tokio-0.2)
         ("rust-tokio-test" ,rust-tokio-test-0.2))))))
 
-(define-public rust-toml-0.5
+(define-public rust-toml-0.6
   (package
     (name "rust-toml")
-    (version "0.5.8")
+    (version "0.6.0")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "toml" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32
-          "1apcmjrrjw429pjw7mqlmdwwd67g8305vwqy4kw3swr612bl44d3"))))
+         (base32 "05zjz69wjymp9yrgccg5vhvxpf855rgn23vl1yvri4nwwj8difag"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-        (("rust-indexmap" ,rust-indexmap-1)
-         ("rust-serde" ,rust-serde-1))
+       (("rust-indexmap" ,rust-indexmap-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-spanned" ,rust-serde-spanned-0.6)
+        ("rust-toml-datetime" ,rust-toml-datetime-0.5)
+        ("rust-toml-edit" ,rust-toml-edit-0.18))
         #:cargo-development-inputs
-        (("rust-serde-derive" ,rust-serde-derive-1)
-         ("rust-serde-json" ,rust-serde-json-1))))
+        (("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-snapbox" ,rust-snapbox-0.4)
+         ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))))
     (home-page "https://github.com/alexcrichton/toml-rs";)
     (synopsis "Rust encoder and decoder of TOML-formatted files and streams")
     (description
@@ -63872,6 +63876,27 @@ serializing Rust structures.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-toml-0.5
+  (package
+    (inherit rust-toml-0.6)
+    (name "rust-toml")
+    (version "0.5.8")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "toml" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1apcmjrrjw429pjw7mqlmdwwd67g8305vwqy4kw3swr612bl44d3"))))
+    (arguments
+     `(#:cargo-inputs
+        (("rust-indexmap" ,rust-indexmap-1)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-toml-0.4
   (package
     (inherit rust-toml-0.5)



reply via email to

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