all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mehmet Tekman <mtekman89@gmail.com>
To: 70037@debbugs.gnu.org
Subject: [bug#70037] [PATCH] gnu: Add rust-country-parser
Date: Wed, 27 Mar 2024 20:33:22 +0100	[thread overview]
Message-ID: <CAHHeYz+jOkS1DTnPLk+BaVpNkX8caF4fqNUR1ENyWtc6J4wF1Q@mail.gmail.com> (raw)

[-- 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


                 reply	other threads:[~2024-03-27 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHHeYz+jOkS1DTnPLk+BaVpNkX8caF4fqNUR1ENyWtc6J4wF1Q@mail.gmail.com \
    --to=mtekman89@gmail.com \
    --cc=70037@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.