[PATCH] gnu: Add rust-country-parser

  • Open
  • quality assurance status badge
Details
One participant
  • Mehmet Tekman
Owner
unassigned
Submitted by
Mehmet Tekman
Severity
normal
M
M
Mehmet Tekman wrote on 27 Mar 20:33 +0100
(address . guix-patches@gnu.org)
CAHHeYz+jOkS1DTnPLk+BaVpNkX8caF4fqNUR1ENyWtc6J4wF1Q@mail.gmail.com

From 1c538d9c155c9c73961d061b728a8a7c7d45593c Mon Sep 17 00:00:00 2001
From: Mehmet Tekman <mtekman89@gmail.com>
Date: Wed, 27 Mar 2024 20:28:31 +0100
Subject: [PATCH] gnu: Add rust-country-parser

* gnu/packages/crates-io.scm (rust-country-parser): New variable

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

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a67d3d74bb..7b1a2ab41b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14524,6 +14524,26 @@ (define-public rust-countme-3
"This package provides a counts the number of live instances of types.")
(license (list license:expat license:asl2.0))))
+(define-public rust-country-parser-0.1
+ (package
+ (name "rust-country-parser")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "country-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ps0254pvx3nmnxs2v60kv7fqayh82r3jqypb4l3ql3i7s3rzr1n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-rustix" ,rust-rustix-0.38))))
+ (home-page "https://github.com/Elinvynia/country-parser")
+ (synopsis "A simple country parser library")
+ (description "A simple country parser library. Currently contains all ISO 3166-1 countries.")
+ (license (list license:expat))))
+
(define-public rust-cpal-0.13
(package
(name "rust-cpal")
--
2.41.0
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 70037@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70037
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch