all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#70037] [PATCH] gnu: Add rust-country-parser
@ 2024-03-27 19:33 Mehmet Tekman
  0 siblings, 0 replies; only message in thread
From: Mehmet Tekman @ 2024-03-27 19:33 UTC (permalink / raw)
  To: 70037

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



[-- Attachment #2: 0001-gnu-Add-rust-country-parser.patch --]
[-- Type: text/x-patch, Size: 1639 bytes --]

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(+)

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-27 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 19:33 [bug#70037] [PATCH] gnu: Add rust-country-parser Mehmet Tekman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.