diff mbox series

[bug#56037,02/14] gnu: Add rust-toml-edit-0.14.

Message ID 3f8f85f4a2da0bc6524d90db891724d1cdb60fd9.1655465108.git.foo.dogsquared@gmail.com
State New
Headers show
Series [bug#56037,01/14] gnu: Add rust-kstring-2. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Gabriel Arazas June 17, 2022, 11:59 a.m. UTC
* gnu/packages/crates-io.scm (rust-toml-edit-0.14): New variable.
(rust-toml-edit-0.3): Inherit and adjust.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c037071ab0..88339619ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65201,17 +65201,17 @@  (define-public rust-toml-0.2
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-toml-edit-0.3
+(define-public rust-toml-edit-0.14
   (package
     (name "rust-toml-edit")
-    (version "0.3.1")
+    (version "0.14.4")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "toml_edit" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0fbpkhla57k9qbpbxh72wxc7hhj7yscq4r0hnmyyygp92r3q6c0x"))))
+                "07xmklks4ldf8r9ban47zvq2s0csq43ja0dcjs43yi7j8ip2axjk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -65219,14 +65219,36 @@  (define-public rust-toml-edit-0.3
        (("rust-combine" ,rust-combine-4)
         ("rust-indexmap" ,rust-indexmap-1)
         ("rust-itertools" ,rust-itertools-0.10)
-        ("rust-serde" ,rust-serde-1)
-        ("rust-vec1" ,rust-vec1-1))))
+        ("rust-kstring" ,rust-kstring-2)
+        ("rust-serde" ,rust-serde-1))))
     (home-page "https://github.com/ordian/toml_edit")
     (synopsis "Yet another format-preserving TOML parser")
     (description "This package provides yet another format-preserving TOML
 parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-toml-edit-0.3
+  (package
+    (inherit rust-toml-edit-0.14)
+    (name "rust-toml-edit")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "toml_edit" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0fbpkhla57k9qbpbxh72wxc7hhj7yscq4r0hnmyyygp92r3q6c0x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-combine" ,rust-combine-4)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-vec1" ,rust-vec1-1))))))
+
 (define-public rust-tonic-0.6
   (package
     (name "rust-tonic")