Subject: [PATCH 45/91] gnu: Add rust-rust-ini-0.19.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:23 +0100

* gnu/packages/crates-io.scm (rust-rust-ini-0.19): New variable.

Change-Id: Ic0fc1a5564137496b231ec859c0f3da2b6e4c9d9
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8259515692..4c246ebedd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60487,8 +60487,31 @@ (define-public rust-rust-hawktracer-sys-0.4
      "This package provides a sys crate for the rust_hawktracer library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rust-ini-0.19
+  (package
+    (name "rust-rust-ini")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust_ini" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14ah70q8k450d6cdwn2vsl1rsdha09nax2n8y4z5a4ziq773naky"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-ordered-multimap" ,rust-ordered-multimap-0.6)
+                       ("rust-unicase" ,rust-unicase-2))))
+    (home-page "https://github.com/zonyitoo/rust-ini")
+    (synopsis "INI configuration file parsing library in Rust")
+    (description
+     "This package is an INI configuration file parsing library in Rust.")
+    (license license:expat)))
+
 (define-public rust-rust-ini-0.17
   (package
+    (inherit rust-rust-ini-0.19)
     (name "rust-rust-ini")
     (version "0.17.0")
     (source
@@ -60498,18 +60521,12 @@ (define-public rust-rust-ini-0.17
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-1)
         ("rust-ordered-multimap" ,rust-ordered-multimap-0.3)
-        ("rust-unicase" ,rust-unicase-2))))
-    (home-page "https://github.com/zonyitoo/rust-ini")
-    (synopsis "INI configuration file parsing library in Rust")
-    (description
-     "This package is an INI configuration file parsing library in Rust.")
-    (license license:expat)))
+        ("rust-unicase" ,rust-unicase-2))))))
 
 (define-public rust-rust-ini-0.13
   (package
-- 
2.41.0