[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/20: gnu: Add ruby-metaclass.
From: |
Ricardo Wurmus |
Subject: |
07/20: gnu: Add ruby-metaclass. |
Date: |
Fri, 20 Nov 2015 14:23:13 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 25d6d49b3e6fe097be06a2f93d842e5558ef6a1f
Author: Ricardo Wurmus <address@hidden>
Date: Fri Nov 20 12:12:02 2015 +0100
gnu: Add ruby-metaclass.
* gnu/packages/ruby.scm (ruby-metaclass): New variable.
---
gnu/packages/ruby.scm | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6753a2d..9d7c464 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1087,6 +1087,40 @@ It allows writing tests, checking results and automated
testing in Ruby.")
(home-page "http://test-unit.github.io/")
(license (list license:psfl license:ruby))))
+(define-public ruby-metaclass
+ (package
+ (name "ruby-metaclass")
+ (version "0.0.4")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "metaclass" version))
+ (sha256
+ (base32
+ "0hp99y2b1nh0nr8pc398n3f8lakgci6pkrg4bf2b2211j1f6hsc5"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'add-test-unit-to-search-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "Rakefile"
+ (("t\\.libs << \"test\"" line)
+ (string-append line "; t.libs << \""
+ (assoc-ref inputs "ruby-test-unit")
+ "/lib/ruby/gems/2.2.0/gems/test-unit-"
+ ,(package-version ruby-test-unit)
+ "/lib\"")))
+ #t)))))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-test-unit" ,ruby-test-unit)))
+ (synopsis "Ruby library adding metaclass method to all objects")
+ (description
+ "Metaclass is a Ruby library adding a @code{metaclass} method to all Ruby
+objects.")
+ (home-page "http://github.com/floehopper/metaclass")
+ (license license:expat)))
+
(define-public ruby-minitest
(package
(name "ruby-minitest")
- branch master updated (9641a89 -> b49c5a5), Ricardo Wurmus, 2015/11/20
- 01/20: gnu: Add ruby-power-assert., Ricardo Wurmus, 2015/11/20
- 03/20: gnu: Add ruby-text., Ricardo Wurmus, 2015/11/20
- 02/20: gnu: Add ruby-locale., Ricardo Wurmus, 2015/11/20
- 05/20: gnu: Add ruby-packnga., Ricardo Wurmus, 2015/11/20
- 04/20: gnu: Add ruby-gettext., Ricardo Wurmus, 2015/11/20
- 08/20: gnu: Add ruby-blankslate., Ricardo Wurmus, 2015/11/20
- 07/20: gnu: Add ruby-metaclass.,
Ricardo Wurmus <=
- 06/20: gnu: Add ruby-test-unit., Ricardo Wurmus, 2015/11/20
- 10/20: gnu: Add ruby-introspection., Ricardo Wurmus, 2015/11/20
- 09/20: gnu: Add ruby-instantiator., Ricardo Wurmus, 2015/11/20
- 12/20: gnu: Add ruby-mocha., Ricardo Wurmus, 2015/11/20
- 11/20: gnu: Add ruby-redcarpet., Ricardo Wurmus, 2015/11/20
- 15/20: gnu: ngs-java: Update to 1.2.2., Ricardo Wurmus, 2015/11/20
- 13/20: gnu: Add ruby-net-ssh., Ricardo Wurmus, 2015/11/20
- 16/20: gnu: ncbi-vdb: Update to 2.5.4., Ricardo Wurmus, 2015/11/20
- 18/20: gnu: edirect: Update home page., Ricardo Wurmus, 2015/11/20
- 14/20: gnu: ngs-sdk: Update to 1.2.2., Ricardo Wurmus, 2015/11/20