diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:45:41 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-08-05 17:15:44 +0100 |
commit | a65c5d8be63c8f63a1b526b4e8a4c62de6d68bb1 (patch) | |
tree | 26daee77e7cc85cd58b21d1b28c308d81aba947a | |
parent | 0cdc091a88970890c97a7a8849d9701eeec83a59 (diff) | |
download | guix-a65c5d8be63c8f63a1b526b4e8a4c62de6d68bb1.tar guix-a65c5d8be63c8f63a1b526b4e8a4c62de6d68bb1.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 42272cd8b9..88c889c019 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -792,6 +792,45 @@ adds support for IRIs and URI templates.") "https://github.com/sporkmonger/addressable") (license license:asl2.0))) +(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") |