guix-commits
[Top][All Lists]
Advanced

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

233/436: gnu: Add rust-toml-test-1.


From: guix-commits
Subject: 233/436: gnu: Add rust-toml-test-1.
Date: Sun, 5 Nov 2023 05:29:02 -0500 (EST)

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

commit b3778d9a420a659729f4061893493bec0385ee91
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Oct 27 20:57:06 2023 +0300

    gnu: Add rust-toml-test-1.
    
    * gnu/packages/crates-io.scm (rust-toml-test-1): New variable.
    (rust-toml-test-0.3): Inherit from rust-toml-test-1.
    (rust-toml-test-data-1): Update to 1.4.0.
    
    Change-Id: I7f3b27622171caf3eb83ed5ed908e8275ac92ef3
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52a239b534..617efe16f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79587,8 +79587,32 @@ parser.")
          ("rust-pretty-assertions" ,rust-pretty-assertions-1)
          ("rust-snapbox" ,rust-snapbox-0.2))))))
 
+(define-public rust-toml-test-1
+  (package
+    (name "rust-toml-test")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "toml-test" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h0lfd4bsix6c7mqlqg9r73dgc34b8kmh5vym20y2cgv6ll8khqy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-ryu" ,rust-ryu-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1))
+       #:cargo-development-inputs (("rust-toml-test-data" 
,rust-toml-test-data-1))))
+    (home-page "https://github.com/epage/toml-test-rs";)
+    (synopsis "Verify Rust TOML parsers")
+    (description "This package can be used to verify Rust TOML parsers.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-toml-test-0.3
   (package
+    (inherit rust-toml-test-1)
     (name "rust-toml-test")
     (version "0.3.5")
     (source (origin
@@ -79597,29 +79621,24 @@ parser.")
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32 
"042dgaqjk1v715my4rziqdadylsad31ny4y6askx878xvbw0r3s8"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-chrono" ,rust-chrono-0.4)
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-json" ,rust-serde-json-1))
        #:cargo-development-inputs
-       (("rust-toml-test-data" ,rust-toml-test-data-1))))
-    (home-page "https://github.com/epage/toml-test-rs";)
-    (synopsis "Verify Rust TOML parsers")
-    (description "This package can be used to verify Rust TOML parsers.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-toml-test-data" ,rust-toml-test-data-1))))))
 
 (define-public rust-toml-test-data-1
   (package
     (name "rust-toml-test-data")
-    (version "1.3.0")
+    (version "1.4.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "toml-test-data" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 
"0ii6llfpz9fbcag2jkfz87s3cmphrnhkr9fln01fhph0ssv53wwk"))))
+               (base32 
"0bgdwyjsqgpwwi5s1w483a1g3qrwmq0l3742k07575qzcc6sx0h0"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-include-dir" ,rust-include-dir-0.7))))



reply via email to

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