diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-08-29 22:53:34 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-09-06 09:08:47 -0400 |
commit | 30b0b725ff358e7d8e645d005f02a0a6e06cfbe9 (patch) | |
tree | 36fa6eb4117bb77b9fba8be231d02d00aef150ec /gnu | |
parent | 386b0052f5ec05ef8bef8662ffa48c98cd80090a (diff) | |
download | patches-30b0b725ff358e7d8e645d005f02a0a6e06cfbe9.tar patches-30b0b725ff358e7d8e645d005f02a0a6e06cfbe9.tar.gz |
gnu: Add ruby-method-source.
* gnu/packages/ruby.scm (ruby-method-source): 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 5fea0566d9..35b63cf6ac 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -844,3 +844,25 @@ to reproduce user environments.") both CSS3 selector and XPath 1.0 support.") (home-page "http://www.nokogiri.org/") (license license:expat))) + +(define-public ruby-method-source + (package + (name "ruby-method-source") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "method_source" version)) + (sha256 + (base32 + "1g5i4w0dmlhzd18dijlqw5gk27bv6dj2kziqzrzb7mpgxgsd1sf2")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-bacon" ,ruby-bacon) + ("git" ,git))) + (synopsis "Retrieve the source code for Ruby methods") + (description "Method_source retrieves the source code for Ruby methods. +Additionally, it can extract source code from Proc and Lambda objects or just +extract comments.") + (home-page "https://github.com/banister/method_source") + (license license:expat))) |