diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:41:28 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-03-18 22:16:59 +0000 |
commit | 9797bd11837cf0c442fb9c9f83ba8b1e60fc0b28 (patch) | |
tree | b3d3d6e67965cc8fbdba50c94c6367802ceb3d15 /gnu | |
parent | d23505d7d32d681b8afb921da236d5dc84131a05 (diff) | |
download | guix-9797bd11837cf0c442fb9c9f83ba8b1e60fc0b28.tar guix-9797bd11837cf0c442fb9c9f83ba8b1e60fc0b28.tar.gz |
gnu: Add ruby-aruba.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7dc4d92782..b258a0b648 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7777,3 +7777,60 @@ https://github.com/flavorjones/loofah-activerecord).") (home-page "http://github.com/brianmario/bzip2-ruby") (license #f)))) + +(define-public ruby-aruba + (package + (name "ruby-aruba") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "aruba" version)) + (sha256 + (base32 + "0cvxvw0v7wnhz15piylxrwpjdgjccwyrddda052z97cpnj5qjg5w")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f ; There are 3 test failures to do with running commands, not + ; sure what the issue is. + #:test-target "spec" + #:phases + (modify-phases %standard-phases + (add-before 'check 'fix-gemfile + (lambda _ + (substitute* "Gemfile" + ((".*byebug.*") "\n") + ((".*pry.*") "\n") + ((".*yaml.*") "\n") + ((".*bcat.*") "\n") + ((".*kramdown.*") "\n") + ((".*fuubar.*") "\n") + ((".*rubocop.*") "\n") + ((".*cucumber-pro.*") "\n") + ((".*license_finder.*") "\n") + ((".*relish.*") "\n") + ) + (substitute* "spec/spec_helper.rb" + ((".*simplecov.*") "") + (("^SimpleCov.*") "")) + #t)) + (add-before 'check 'set-home + (lambda _ (setenv "HOME" "/tmp") #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-simplecov" ,ruby-simplecov) + ("ruby-rspec" ,ruby-rspec) + ("ruby-fuubar" ,ruby-fuubar))) + (propagated-inputs + `(("ruby-childprocess" ,ruby-childprocess) + ("ruby-contracts" ,ruby-contracts) + ("ruby-cucumber" ,ruby-cucumber) + ("ruby-ffi" ,ruby-ffi) + ("ruby-rspec-expectations" ,ruby-rspec-expectations) + ("ruby-thor" ,ruby-thor))) + (synopsis + "Extension for popular TDD and BDD frameworks like \"Cucumber\", \"RSpec\" and \"Minitest\" to make testing commandline applications meaningful, easy and fun.") + (description + "Extension for popular TDD and BDD frameworks like \"Cucumber\", \"RSpec\" and \"Minitest\" to make testing commandline applications meaningful, easy and fun.") + (home-page "http://github.com/cucumber/aruba") + (license license:expat))) |