Subject: [PATCH rust-team v3 27/75] gnu: Add rust-geo-uri-0.2.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:34:59 +0200

* gnu/packages/crates-io.scm (rust-geo-uri-0.2): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7ae9f410f..32de493d6d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29592,6 +29592,32 @@ (define-public rust-geo-types-0.6
        #:cargo-development-inputs
        (("rust-approx" ,rust-approx-0.3))))))
 
+(define-public rust-geo-uri-0.2
+  (package
+    (name "rust-geo-uri")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "geo-uri" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1klragbx8xqx9cairhgcc97ypyf62v41rhaq83zfxmvjrrvyndds"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--features" "url")
+       #:cargo-inputs (("rust-derive-builder" ,rust-derive-builder-0.20)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))
+    (home-page "https://git.luon.net/paul/geo-uri-rs")
+    (synopsis "Parse and generate URIs for geographic locations")
+    (description
+     "This package provides a crate for parsing and generating Uniform
+Resource Identifiers for geographic locations (geo URIs).")
+    (license license:expat)))
+
 (define-public rust-gethostname-0.4
   (package
     (name "rust-gethostname")
-- 
2.41.0