[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/20: gnu: Add ruby-introspection.
From: |
Ricardo Wurmus |
Subject: |
10/20: gnu: Add ruby-introspection. |
Date: |
Fri, 20 Nov 2015 14:23:15 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 97aee8d3ebd5f0fc68c3ff3d9c12368bfe542240
Author: Ricardo Wurmus <address@hidden>
Date: Fri Nov 20 12:13:09 2015 +0100
gnu: Add ruby-introspection.
* gnu/packages/ruby.scm (ruby-introspection): New variable.
---
gnu/packages/ruby.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index cf5739a..a213c71 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1185,6 +1185,44 @@ knowing anything about the constructor.")
(home-page "https://github.com/floehopper/instantiator")
(license license:expat)))
+(define-public ruby-introspection
+ (package
+ (name "ruby-introspection")
+ (version "0.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "introspection" version))
+ (sha256
+ (base32
+ "0g1j71sqfxbqk32wj7d0bkd3dlayfqzprfq3dbr0rq107xbxjcrr"))))
+ (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)))))
+ (propagated-inputs
+ `(("ruby-instantiator" ,ruby-instantiator)
+ ("ruby-metaclass" ,ruby-metaclass)))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-blankslate" ,ruby-blankslate)
+ ("ruby-test-unit" ,ruby-test-unit)))
+ (synopsis "Dynamic inspection of the method hierarchy on a Ruby object")
+ (description
+ "Introspection provides tools to inspect the hierarchy of method
+definitions on a Ruby object.")
+ (home-page "https://github.com/floehopper/introspection")
+ (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, 2015/11/20
- 06/20: gnu: Add ruby-test-unit., Ricardo Wurmus, 2015/11/20
- 10/20: gnu: Add ruby-introspection.,
Ricardo Wurmus <=
- 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
- 19/20: gnu: Add smithlab-cpp., Ricardo Wurmus, 2015/11/20
- 17/20: gnu: sra-tools: Update to 2.5.4., Ricardo Wurmus, 2015/11/20