diff mbox series

[bug#51568] gnu: Add rust-rust-ini-0.16

Message ID KLgCUwZz3NFjyycIHYaRBKTjhGpih0gMbWhRD65SZ1_v0jN2s8dm4GcLzyubkAoniveQmvMcNzLXxMgAh4QbAFRTc3tEUndd3OkQjaU9YIE=@protonmail.com
State New
Headers show
Series [bug#51568] gnu: Add rust-rust-ini-0.16 | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

chibani Nov. 2, 2021, 4:28 a.m. UTC
Empty Message

Comments

Nicolas Goaziou Nov. 3, 2021, 12:45 p.m. UTC | #1
Hello,

chibani via Guix-patches via <guix-patches@gnu.org> writes:

> Subject: [PATCH] Add rust-rust-ini-0.16

Thank you. However, there's already a rust-rust-ini-0.17 package in
Guix, so this one should inherit from it. See, e.g., rust-rust-ini-0.13
for an example.

Also, this patch requires a proper commit message. You can generate it
using etc/committers.scm script.

Could you send an updated patch?

Regards,
diff mbox series

Patch

From ad992fcdfe700971039128e022b33a20e90e7adc Mon Sep 17 00:00:00 2001
From: chibani <osama.chibani@protonmail.com>
Date: Sat, 23 Oct 2021 09:45:42 +0200
Subject: [PATCH] Add rust-rust-ini-0.16

---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b8587e8084..263cde5e2b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40530,6 +40530,30 @@  (define-public rust-rust-ini-0.17
      "This package is an INI configuration file parsing library in Rust.")
     (license license:expat)))
 
+(define-public rust-rust-ini-0.16
+  (package
+    (name "rust-rust-ini")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust-ini" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qnyp96kslw5ivcf5a7dhiwbqpb72sh8rq40m81vbkiim54z5nyw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.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)))
+
 (define-public rust-rust-ini-0.13
   (package
     (inherit rust-rust-ini-0.17)
-- 
2.33.1