From 053580ff5c324b19314ecd9236bb6f86b8bf2091 Mon Sep 17 00:00:00 2001 From: Tomas Volf <~@wolfsden.cz> Date: Thu, 15 Feb 2024 21:26:55 +0100 Subject: [PATCH] gnu: Add rust-pure-rust-locales-0.8. * gnu/packages/crates-io.scm (rust-pure-rust-locales-0.8): New variable. (rust-pure-rust-locales-0.7): Inherit from rust-pure-rust-locales-0.8. Change-Id: I6a426cc2cbffd9d3b3ef40abf423d7a28c8c9469 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0109b0a675..4a36faf775 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50840,8 +50840,29 @@ they were parsed from") (description "This package provides a library for async wake signals.") (license license:asl2.0))) +(define-public rust-pure-rust-locales-0.8 + (package + (name "rust-pure-rust-locales") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pure-rust-locales" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fkkwggiq2053rmiah2h06dz6w3yhy9pa82g30vy3sbcmqcgv40i")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) ; Not all files included. + (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 (list license:expat license:asl2.0)))) + (define-public rust-pure-rust-locales-0.7 (package + (inherit rust-pure-rust-locales-0.8) (name "rust-pure-rust-locales") (version "0.7.0") (source @@ -50851,15 +50872,8 @@ they were parsed from") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0cl46srhxzj0jlvfp73l8l9qw54qwa04zywaxdf73hidwqlsh0pd")))) - (build-system cargo-build-system) (arguments - (list #:tests? #f)) ; Not all files included. - (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 (list license:expat license:asl2.0)))) + (list #:tests? #f)))) ; Not all files included. (define-public rust-pyo3-build-config-0.20 (package