Subject: [bug#68312] [PATCH 055/156] gnu: Add rust-figment-0.10.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:52:32 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d691e496a09..d8d34a5c557 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26111,6 +26111,36 @@ (define-public rust-ff-0.12
     (synopsis "Library for building and interfacing with finite fields")
     (description "Library for building and interfacing with finite fields")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-figment-0.10
+  (package
+    (name "rust-figment")
+    (version "0.10.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "figment" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14q9msp62m36q50qqp9n6i6bbkmkbcxjd2y8q9ra056jpk3vhabn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #: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))))
+    (home-page "https://github.com/SergioBenitez/Figment")
+    (synopsis "A configuration library so con-free, it's unreal.")
+    (description
+     "This package provides a configuration library so con-free, it's unreal.")
+    (license (list license:expat license:asl2.0))))
 (define-public rust-fiat-crypto-0.1
   (package
     (name "rust-fiat-crypto")
-- 
2.41.0