Subject: [bug#66805] [PATCH 17/22] gnu: Add rust-pure-rust-locales-0.7.

From: Jaeme Sifat <[email-masked]>
Date: Sun, 29 Oct 2023 00:27:09 -0400

* gnu/packages/crates-io.scm (rust-pure-rust-locales-0.7): New variable.

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: If0f2f4ba2cac2b5c8c3e35647bd60bba6d274bf1
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10e45af42d..77764815b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54214,8 +54214,30 @@ (define-public rust-pulse-0.5
     (description "This package provides a library for async wake signals.")
     (license license:asl2.0)))
 
+(define-public rust-pure-rust-locales-0.7
+  (package
+    (name "rust-pure-rust-locales")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pure-rust-locales" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cl46srhxzj0jlvfp73l8l9qw54qwa04zywaxdf73hidwqlsh0pd"))))
+    (build-system cargo-build-system)
+    (arguments `(#:cargo-test-flags `("--"
+                                      "--skip=checksum")))
+    (home-page "https://github.com/cecton/pure-rust-locales")
+    (synopsis "Pure Rust locales imported directly from the GNU C Library")
+    (description
+     "Pure Rust locales imported directly from the GNU C Library.
+@code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.")
+    (license license:expat)))
+
 (define-public rust-pure-rust-locales-0.5
   (package
+    (inherit rust-pure-rust-locales-0.7)
     (name "rust-pure-rust-locales")
     (version "0.5.3")
     (source
@@ -54231,13 +54253,8 @@ (define-public rust-pure-rust-locales-0.5
     (arguments
      `(#:cargo-inputs
        (("rust-itertools" ,rust-itertools-0.8)
-        ("rust-nom" ,rust-nom-5))))
-    (home-page "https://github.com/cecton/pure-rust-locales")
-    (synopsis "Pure Rust locales imported directly from the GNU C Library")
-    (description
-     "Pure Rust locales imported directly from the GNU C Library.
-@code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.")
-    (license license:expat)))
+        ("rust-nom" ,rust-nom-5))))))
+
 
 (define-public rust-pyo3-build-config-0.19
   (package
-- 
2.34.1