diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-27 16:43:13 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-02-14 21:37:57 +0000 |
commit | d8c189ed56d20c2eeb52710b197f52b3472103c8 (patch) | |
tree | 1f5e8c0e25ce979d80a87db1232d8d8d78a2a1d1 /gnu | |
parent | 5499345749a4ce1275773b9353446b2fca63bdba (diff) |
gnu: Add ruby-unicode-display-width.
Required for ruby-rubocop.
* gnu/packages/ruby.scm (ruby-unicode-display-width): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 3f4d902740..06f6fffbf3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5026,6 +5026,28 @@ requests. This is useful when testing software.") (home-page "https://github.com/bblimke/webmock") (license license:expat))) +(define-public ruby-unicode-display-width + (package + (name "ruby-unicode-display-width") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "unicode-display_width" version)) + (sha256 + (base32 + "0bq528fibi8s0jmxz0xzlgzggdq0x4fx46wfqz49478pv8gb2diq")))) + (build-system ruby-build-system) + (arguments + '(;; Test data not included. + #:tests? #f)) + (synopsis "Determine the monospace display width of Ruby strings") + (description + "@code{Unicode::DisplayWidth} is a Ruby library which can determine the +display width of strings in Ruby.") + (home-page "https://github.com/janlelis/unicode-display_width") + (license license:expat))) + (define-public ruby-domain-name (package (name "ruby-domain-name") |