[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/66: gnu: Add ruby-fuubar.
From: |
guix-commits |
Subject: |
05/66: gnu: Add ruby-fuubar. |
Date: |
Thu, 14 Feb 2019 16:38:31 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 5437c7416cc0a72fb17f4ff029e3ba829af47394
Author: Christopher Baines <address@hidden>
Date: Sun Jan 27 09:12:46 2019 +0000
gnu: Add ruby-fuubar.
* gnu/packages/ruby.scm (ruby-fuubar): New variable.
---
gnu/packages/ruby.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 32a4981..72562a2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1166,6 +1166,54 @@ standard output stream.")
(home-page "https://github.com/geemus/formatador")
(license license:expat)))
+(define-public ruby-fuubar
+ (package
+ (name "ruby-fuubar")
+ (version "2.3.2")
+ (source
+ (origin
+ ;; Fetch from the git repository, as the gem package doesn't include
+ ;; the tests.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/thekompanee/fuubar.git")
+ (commit (string-append "releases/v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jm1x2xp13csbnadixaikj7mlkp5yk4byx51npm56zi13izp7259"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(;; TODO: Some tests fail, unsure why.
+ ;; 21 examples, 7 failures
+ #:tests? #f
+ #: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))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec"))
+ #t)))))
+ (native-inputs
+ `(("bundler" ,bundler)))
+ (propagated-inputs
+ `(("ruby-rspec-core" ,ruby-rspec-core)
+ ("ruby-progressbar" ,ruby-progressbar)))
+ (synopsis "Fuubar is an RSpec formatter that uses a progress bar")
+ (description
+ "Fuubar is an RSpec formatter that uses a progress bar instead of a
+string of letters and dots as feedback. It also stops on the first test
+failure.")
+ (home-page "https://github.com/thekompanee/fuubar")
+ (license license:expat)))
+
(define-public ruby-shindo
(package
(name "ruby-shindo")
- branch master updated (17098a4 -> a3dbfbb), guix-commits, 2019/02/14
- 03/66: gnu: Add ruby-contracts., guix-commits, 2019/02/14
- 04/66: gnu: Add ruby-progressbar., guix-commits, 2019/02/14
- 01/66: gnu: ruby-safe-yaml: Add missing require 'time'., guix-commits, 2019/02/14
- 02/66: gnu: Add ruby-cucumber-wire., guix-commits, 2019/02/14
- 08/66: gnu: Add ruby-backports., guix-commits, 2019/02/14
- 06/66: gnu: Add ruby-cucumber-expressions., guix-commits, 2019/02/14
- 07/66: gnu: Add ruby-mspec., guix-commits, 2019/02/14
- 05/66: gnu: Add ruby-fuubar.,
guix-commits <=
- 14/66: gnu: Add ruby-powerpack., guix-commits, 2019/02/14
- 13/66: gnu: ruby-rspec-its: Enable tests., guix-commits, 2019/02/14
- 10/66: gnu: ruby-cucumber-core: Update to 3.2.1., guix-commits, 2019/02/14
- 09/66: gnu: Add ruby-cucumber-tag-expressions., guix-commits, 2019/02/14
- 11/66: gnu: ruby-gherkin: Update to 5.1.0., guix-commits, 2019/02/14
- 12/66: gnu: Add ruby-cucumber and ruby-aruba., guix-commits, 2019/02/14
- 20/66: gnu: Add ruby-rest-client., guix-commits, 2019/02/14
- 22/66: gnu: Add ruby-ast., guix-commits, 2019/02/14
- 33/66: gnu: ruby-addressable: Enable tests and update., guix-commits, 2019/02/14
- 18/66: gnu: Add ruby-crack., guix-commits, 2019/02/14