aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-07-25 08:16:25 -0400
committerLudovic Courtès <ludo@gnu.org>2022-08-04 12:05:51 +0200
commit5f7db95215ca71d2f09a54fda6b881749b6ad2ba (patch)
treeaaf46474a188c52e9e865715c25d2849268738bd /gnu/packages
parent07dcbc767a0a844d0dd51ede273b815886d4e4fc (diff)
downloadguix-5f7db95215ca71d2f09a54fda6b881749b6ad2ba.tar.gz
guix-5f7db95215ca71d2f09a54fda6b881749b6ad2ba.zip
gnu: Add ruby-unicode-scripts.
* gnu/packages/ruby.scm (ruby-unicode-scripts): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
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)))