diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:41:47 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-28 11:21:18 +0000 |
commit | e75a44a8205992a9c79a1e6e35b288f81dd0c478 (patch) | |
tree | ef5889316c53def4296f68c8d3373d5b90b7aecc | |
parent | c8e5b27e1f061c3db78644f17cdea6a781bc1ae0 (diff) | |
download | guix-e75a44a8205992a9c79a1e6e35b288f81dd0c478.tar guix-e75a44a8205992a9c79a1e6e35b288f81dd0c478.tar.gz |
gnu: Add ruby-fuubar.
-rw-r--r-- | gnu/packages/ruby.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e860a0748f..a85c6353aa 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1212,6 +1212,46 @@ standard output stream.") (home-page "https://github.com/geemus/formatador") (license license:expat))) +(define-public ruby-fuubar + (package + (name "ruby-fuubar") + (version "2.1.1") + (source + (origin + (method url-fetch) + ;; The gem does not include files required for testing. + (uri (string-append "https://github.com/thekompanee/fuubar/archive/releases/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1363fy7x12srr51cy5x1xkf9z7jlzzlwpsifwgx6bivnp6lar3ny")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f ; some tests fail when running (zero? (system* "rspec" + ; "-Ilib" "spec")) inside the container, but seem to work outside. + #:phases + (modify-phases %standard-phases + (add-before 'build 'delete-certificate + (lambda _ + ;; Remove 's.cert_chain' as we do not build with a private key + (substitute* "fuubar.gemspec" + ((".*cert_chain.*") "") + ((".*signing_key.*") "")) + #t))))) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs + `(("ruby-rspec" ,ruby-rspec) + ("ruby-ruby-progressbar" ,ruby-ruby-progressbar))) + (synopsis + "the instafailing RSpec progress bar formatter") + (description + "the instafailing RSpec progress bar formatter") + (home-page + "https://github.com/thekompanee/fuubar") + (license license:expat))) + (define-public ruby-shindo (package (name "ruby-shindo") |