diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:45:41 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-28 11:21:18 +0000 |
commit | 91e5fe00da6f81e4e12b0c8ca13fd05d010029e9 (patch) | |
tree | 1c83a4fb4f824b5e516c5212ba970f103ea9d1c8 | |
parent | 6cebcca0b5401bbe64ac4141c40d59a8eaa8c7c1 (diff) | |
download | guix-91e5fe00da6f81e4e12b0c8ca13fd05d010029e9.tar guix-91e5fe00da6f81e4e12b0c8ca13fd05d010029e9.tar.gz |
gnu: Add ruby-appraisal.
-rw-r--r-- | gnu/packages/ruby.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b1d1b6912e..a65f73bc53 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -748,6 +748,45 @@ configuration, and more.") (home-page "http://log4r.rubyforge.org/") (license license:bsd-3))) +(define-public ruby-appraisal + (package + (name "ruby-appraisal") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "appraisal" version)) + (sha256 + (base32 + "10ng010lhswdykjhwic7bgv28qpjj42qwxvprpj1f4cavdimh4vp")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f ; tests require network access + #:test-target "spec" + #:phases + (modify-phases %standard-phases + ;; remove bundler from Rakefile to avoid dependency issues + (add-before 'check 'remove-dependency-checking + (lambda _ +; (substitute* "Rakefile" + ; (("^require 'bundler.*") "")) + (substitute* "Gemfile" + (("thor.*") "thor'\n")) + #t))))) + (propagated-inputs + `(("bundler" ,bundler) + ("ruby-thor" ,ruby-thor))) + (native-inputs + `(("ruby-activesupport" ,ruby-activesupport) + ("ruby-rspec" ,ruby-rspec))) + (synopsis + "Appraisal integrates with bundler and rake to test your library against different versions of dependencies in repeatable scenarios called \"appraisals.\"") + (description + "Appraisal integrates with bundler and rake to test your library against different versions of dependencies in repeatable scenarios called \"appraisals.\"") + (home-page + "http://github.com/thoughtbot/appraisal") + (license license:expat))) + (define-public ruby-atoulme-antwrap (package (name "ruby-atoulme-antwrap") |