[bug#75127,43/67] gnu: Add rust-rust-ini-0.20.

Message ID 48fa6e32656bd87b81d5e48089cdf344b2aef265.1735253330.git.lockbox@struct.foo
State New
Headers
Series rust-team: Add cargo-nextest |

Commit Message

Jordan Moore Dec. 26, 2024, 11:11 p.m. UTC
  * gnu/packages/crates-io.scm (rust-rust-ini-0.20): New variable.

Change-Id: Iab49eb1125635995c448a8e9f37fd5af4d2527a5
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3df82efb6..80d8d9c06b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72823,9 +72823,28 @@  (define-public rust-rust-ini-0.21
      "This package provides An Ini configuration file parsing library in Rust.")
     (license license:expat)))
 
+(define-public rust-rust-ini-0.20
+  (package
+    (inherit rust-rust-ini-0.21)
+    (name "rust-rust-ini")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust-ini" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12h608iy8kzxdrd0i5r20pzmgnw5fwg4rjwy5azq526bdch9h1iy"))))
+    (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.7)
+                       ("rust-unicase" ,rust-unicase-2))))))
 
 (define-public rust-rust-ini-0.18
   (package
+    (inherit rust-rust-ini-0.20)
     (name "rust-rust-ini")
     (version "0.18.0")
     (source
@@ -72840,12 +72859,7 @@  (define-public rust-rust-ini-0.18
      `(#:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-1)
         ("rust-ordered-multimap" ,rust-ordered-multimap-0.4)
-        ("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.17
   (package