From 5f7db95215ca71d2f09a54fda6b881749b6ad2ba Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:25 -0400 Subject: gnu: Add ruby-unicode-scripts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ruby.scm (ruby-unicode-scripts): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 28e5ea0b7e..25e3cbcd97 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13271,3 +13271,25 @@ variables, supports cross-references, and decodes common LaTeX formatting instructions to unicode. If you are in a hurry, it also allows for easy export/conversion to formats such as YAML, JSON, CSL, and XML (BibTeXML).") (license license:gpl3+))) + +(define-public ruby-unicode-scripts + (package + (name "ruby-unicode-scripts") + (version "1.7.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "unicode-scripts" version)) + (sha256 + (base32 + "1k7kbfk806zam129bp7pdiqkfb5hn51x149irzvjhs4xf22m4yvi")))) + (build-system ruby-build-system) + (native-inputs + (list ruby-minitest)) + (arguments + (list #:test-target "spec")) + (home-page "https://github.com/janlelis/unicode-scripts") + (synopsis "Unicode script classification library") + (description + "This gem provides a simple interface for classifying Ruby strings using +the Unicode @code{Script} and @code{Script_Extensions} properties.") + (license license:expat))) -- cgit 1.4.1