unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51568] [PATCH] gnu: Add rust-rust-ini-0.16
@ 2021-11-02  4:28 chibani via Guix-patches via
  2021-11-03 12:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: chibani via Guix-patches via @ 2021-11-02  4:28 UTC (permalink / raw)
  To: 51568


[-- Attachment #1.1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Attachment #1.2: Type: text/html, Size: 24 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-rust-rust-ini-0.16.patch --]
[-- Type: text/x-patch; name=0001-Add-rust-rust-ini-0.16.patch, Size: 1577 bytes --]

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#51568] [PATCH] gnu: Add rust-rust-ini-0.16
  2021-11-02  4:28 [bug#51568] [PATCH] gnu: Add rust-rust-ini-0.16 chibani via Guix-patches via
@ 2021-11-03 12:45 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-11-03 12:45 UTC (permalink / raw)
  To: 51568; +Cc: osama.chibani

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,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-03 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02  4:28 [bug#51568] [PATCH] gnu: Add rust-rust-ini-0.16 chibani via Guix-patches via
2021-11-03 12:45 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).