Subject: [PATCH 37/43] gnu: Add rust-figment-0.10.

From: normalmente <[email-masked]>
Date: Tue, 19 Mar 2024 03:51:08 +0000

* gnu/packages/crates-io.scm (rust-figment-0.10): New variable.

Change-Id: I34ff4032b473a3ce8e13406f3d1f131b2c5309fd
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5609684808..a5ce9579c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23677,6 +23677,43 @@ (define-public rust-field-offset-0.3
 implementation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-figment-0.10
+  (package
+    (name "rust-figment")
+    (version "0.10.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "figment" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dnfri2371wzmk7lcxfd121z35b1b2251d93yc23w8b7f1z6fw3j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; unresolved import for `toml' provider.
+       #:cargo-inputs
+       (("rust-atomic" ,rust-atomic-0.6)
+        ("rust-parking-lot" ,rust-parking-lot-0.12)
+        ("rust-pear" ,rust-pear-0.2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-yaml" ,rust-serde-yaml-0.9)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-toml" ,rust-toml-0.8)
+        ("rust-uncased" ,rust-uncased-0.9)
+        ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs
+       (("rust-clap" ,rust-clap-4)
+        ("rust-parking-lot" ,rust-parking-lot-0.12)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/SergioBenitez/Figment")
+    (synopsis "Configuration library so con-free, it's unreal")
+    (description
+     "Figment is a semi-hierarchical configuration library for Rust so
+con-free, it's unreal.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-find-crate-0.6
   (package
     (name "rust-find-crate")
-- 
2.41.0