From 31116cae6dafd7a85e2ec7cb81628e52180cf15c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 16 Mar 2024 21:59:54 +0200 Subject: [PATCH] gnu: Add rust-unicode-reverse-1. * gnu/packages/crates-io.scm (rust-unicode-reverse-1): New variable. Change-Id: I224132897c4298b6d4c628e0541611fe22efce44 --- 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 abd350236d..41af3ea02b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -78202,6 +78202,26 @@ (define-public rust-unicode-normalization-0.1 described in Unicode Standard Annex #15.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-reverse-1 + (package + (name "rust-unicode-reverse") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-reverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b4n480vd897pm4klmmz07w8p45kb5ds0037kakd1lmhxfn5vshb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.4)))) + (home-page "https://github.com/mbrubeck/unicode-reverse") + (synopsis "Unicode-aware in-place string reversal") + (description "Unicode-aware in-place string reversal.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unicode-segmentation-1 (package (name "rust-unicode-segmentation")