Subject: [bug#75127] [PATCH rust-team v3 22/67] gnu: Add rust-config-0.14.

From: Jordan Moore <[email-masked]>
Date: Thu, 26 Dec 2024 22:37:41 -0500

* gnu/packages/crates-io.scm (rust-config-0.14): New variable.

Change-Id: Ibfe876b980689eb6ac4affb3385b013e2424e3d1
---
 gnu/packages/crates-io.scm | 57 ++++++++++++++++++++++++++++++++------
 1 file changed, 48 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 606fa9a94d..cb0db8f879 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16435,8 +16435,53 @@ (define-public rust-condtype-1
     (description "Choose types at compile-time via boolean constants.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-config-0.14
+  (package
+    (name "rust-config")
+    (version "0.14.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "config" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pyzr665pq6xcq3f6j1670v5xxk465n2bbkzn9hzycradlcqymv8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-convert-case" ,rust-convert-case-0.6)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-json5" ,rust-json5-0.4)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-pathdiff" ,rust-pathdiff-0.2)
+                       ("rust-ron" ,rust-ron-0.8)
+                       ("rust-rust-ini" ,rust-rust-ini-0.20)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-toml" ,rust-toml-0.8)
+                       ("rust-yaml-rust2" ,rust-yaml-rust2-0.8))
+       #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)
+                                   ("rust-float-cmp" ,rust-float-cmp-0.9)
+                                   ("rust-futures" ,rust-futures-0.3)
+                                   ("rust-glob" ,rust-glob-0.3)
+                                   ("rust-notify" ,rust-notify-4)
+                                   ("rust-reqwest" ,rust-reqwest-0.11)
+                                   ("rust-serde-derive" ,rust-serde-derive-1)
+                                   ("rust-temp-env" ,rust-temp-env-0.2)
+                                   ("rust-tokio" ,rust-tokio-1)
+                                   ("rust-warp" ,rust-warp-0.3))))
+    (home-page "https://github.com/rust-cli/config-rs")
+    (synopsis "Layered configuration system for Rust applications")
+    (description
+     "This package provides Layered configuration system for Rust applications.")
+    (license (list license:expat license:asl2.0))
+    (native-inputs (list pkg-config))
+    (inputs (list openssl))))
+
+
 (define-public rust-config-0.13
   (package
+    (inherit rust-config-0.14)
     (name "rust-config")
     (version "0.13.4")
     (source
@@ -16476,17 +16521,11 @@ (define-public rust-config-0.13
                                    ("rust-tokio" ,rust-tokio-1)
                                    ("rust-warp" ,rust-warp-0.3))))
     (native-inputs (list pkg-config))
-    (inputs (list openssl))
-    (home-page "https://github.com/mehcode/config-rs")
-    (synopsis "Layered configuration system for Rust applications")
-    (description
-     "This package provides a layered configuration system for Rust
-applications.")
-    (license (list license:expat license:asl2.0))))
+    (inputs (list openssl))))
 
 (define-public rust-config-0.11
   (package
-    (inherit rust-config-0.13)
+    (inherit rust-config-0.14)
     (name "rust-config")
     (version "0.11.0")
     (source
@@ -16510,7 +16549,7 @@ (define-public rust-config-0.11
 
 (define-public rust-config-0.10
   (package
-    (inherit rust-config-0.11)
+    (inherit rust-config-0.14)
     (name "rust-config")
     (version "0.10.1")
     (source
-- 
2.46.0