diff mbox series

[bug#69257,rust-team,v3,70/75] gnu: Add rust-toml-edit-0.22.

Message ID 97c8436968494056386c8fefb228c123803420b1.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-io.scm (rust-toml-edit-0.22): Add variable.

Change-Id: I5c27218732d4291af2d37137a35227f5db5895b1
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29d657709e..54ff0fc760 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85614,6 +85614,37 @@  (define-public rust-toml-edit-0.14
          ("rust-pretty-assertions" ,rust-pretty-assertions-1)
          ("rust-snapbox" ,rust-snapbox-0.2))))))
 
+(define-public rust-toml-edit-0.22
+  (package
+    (name "rust-toml-edit")
+    (version "0.22.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "toml_edit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vyxc7naf61hxhn8lccq1x8scfaxb20db8cd96jb41d7d17qscnk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-libtest-mimic" ,rust-libtest-mimic-0.7)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-snapbox" ,rust-snapbox-0.4)
+        ("rust-toml-test-data" ,rust-toml-test-data-1)
+        ("rust-toml-test-harness" ,rust-toml-test-harness-0.4))
+       #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-kstring" ,rust-kstring-2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-spanned" ,rust-serde-spanned-0.6)
+                       ("rust-toml-datetime" ,rust-toml-datetime-0.6)
+                       ("rust-winnow" ,rust-winnow-0.6))))
+    (home-page "https://github.com/toml-rs/toml")
+    (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-test-1
   (package
     (name "rust-toml-test")