[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/17: gnu: Add ruby-unf.
From: |
Ben Woodcroft |
Subject: |
15/17: gnu: Add ruby-unf. |
Date: |
Wed, 27 Jan 2016 14:12:28 +0000 |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 3b44bcdfcdb161dd1109635c449034a0a0f9e7e9
Author: Ben Woodcroft <address@hidden>
Date: Thu Dec 31 09:23:55 2015 +1000
gnu: Add ruby-unf.
* gnu/packages/ruby.scm (ruby-unf): New variable.
---
gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 373bf5c..181c279 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3297,6 +3297,43 @@ more complex, and error-prone.")
(home-page "https://github.com/thoughtbot/shoulda")
(license license:expat)))
+(define-public ruby-unf
+ (package
+ (name "ruby-unf")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "unf" version))
+ (sha256
+ (base32
+ "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'add-dependency-to-bundler
+ (lambda _
+ ;; test-unit is required but not provided by the bundler
+ ;; environment. This is fixed in the upstream repository but fix
+ ;; has not been released.
+ (substitute* "Gemfile"
+ (("^gemspec") "gem 'test-unit'\ngemspec"))
+ #t)))))
+ (propagated-inputs
+ `(("ruby-unf-ext" ,ruby-unf-ext)))
+ (native-inputs
+ `(("ruby-shoulda" ,ruby-shoulda)
+ ("bundler" ,bundler)
+ ("ruby-test-unit" ,ruby-test-unit)))
+ (synopsis "Unicode Normalization Form support to Ruby and JRuby")
+ (description
+ "@code{ruby-unf} is a wrapper library to bring Unicode Normalization Form
+support to both Ruby and JRuby. It uses @code{unf_ext} on CRuby and
address@hidden on JRuby.")
+ (home-page "https://github.com/knu/ruby-unf")
+ (license license:bsd-2)))
+
(define-public ruby-ansi
(package
(name "ruby-ansi")
- 12/17: gnu: Add ruby-shoulda-matchers., (continued)
- 12/17: gnu: Add ruby-shoulda-matchers., Ben Woodcroft, 2016/01/27
- 05/17: gnu: Add ruby-minitest-bonus-assertions., Ben Woodcroft, 2016/01/27
- 14/17: gnu: Add ruby-shoulda., Ben Woodcroft, 2016/01/27
- 16/17: gnu: Add ruby-domain-name., Ben Woodcroft, 2016/01/27
- 17/17: gnu: Add ruby-http-cookie., Ben Woodcroft, 2016/01/27
- 13/17: gnu: Add ruby-shoulda-matchers-2., Ben Woodcroft, 2016/01/27
- 10/17: gnu: Add ruby-sqlite3., Ben Woodcroft, 2016/01/27
- 07/17: gnu: Add ruby-mime-types-data., Ben Woodcroft, 2016/01/27
- 08/17: gnu: Add ruby-fivemat., Ben Woodcroft, 2016/01/27
- 09/17: gnu: Add ruby-mime-types., Ben Woodcroft, 2016/01/27
- 15/17: gnu: Add ruby-unf.,
Ben Woodcroft <=
- 01/17: gnu: Add ruby-turn., Ben Woodcroft, 2016/01/27
- 11/17: gnu: Add ruby-shoulda-context., Ben Woodcroft, 2016/01/27
- 03/17: gnu: Add ruby-minitest-pretty-diff., Ben Woodcroft, 2016/01/27