summary refs log tree commit diff
diff options
context:
space:
mode:
authorArjan Adriaanse <arjan@adriaan.se>2023-03-04 15:06:33 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-05-16 09:33:44 +0300
commit8b456024658ab03201a49a2b362299ef0cd646d1 (patch)
treeb905805e1cf83b3dcfc11ebaa75e9d348cf40749
parent35cf72651742ffbbf9e55e3b02db916e1574186d (diff)
downloadguix-8b456024658ab03201a49a2b362299ef0cd646d1.tar.gz
gnu: Add rust-basic-toml-0.1.
* gnu/packages/crates-io.scm (rust-basic-toml-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3547d67fac..7ea36baf33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6240,6 +6240,32 @@ portable \"best effort\" constant-time operation and embedded-friendly
     (description "This library provides for encoding and decoding any base.")
     (license license:expat)))
 
+(define-public rust-basic-toml-0.1
+  (package
+    (name "rust-basic-toml")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "basic-toml" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1d2h378373x0i8j4mi4sfaq8np9hf5xqr2rh9pa7r5irfxk9p09f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-semver" ,rust-semver-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/dtolnay/basic-toml")
+    (synopsis "Minimal TOML library with few dependencies")
+    (description "This package provides minimal TOML library with few
+dependencies.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bat-0.18
   (package
     (name "bat")