mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: Add ruby-turn.
* gnu/packages/ruby.scm (ruby-turn): New variable.
This commit is contained in:
parent
f66842dccc
commit
8092e33376
1 changed files with 33 additions and 0 deletions
|
@ -2895,6 +2895,39 @@ (define-public ruby-eventmachine
|
||||||
(home-page "http://rubyeventmachine.com")
|
(home-page "http://rubyeventmachine.com")
|
||||||
(license (list license:ruby license:gpl3)))) ; GPLv3 only AFAICT
|
(license (list license:ruby license:gpl3)))) ; GPLv3 only AFAICT
|
||||||
|
|
||||||
|
(define-public ruby-turn
|
||||||
|
(package
|
||||||
|
(name "ruby-turn")
|
||||||
|
(version "0.9.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (rubygems-uri "turn" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1691rc2sq04cw8mxxh340k2j04ll90kwgcy8ddrp6rligmfrf8fw"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; Tests fail because turn changes its environment so can no longer
|
||||||
|
;; find test/unit. Instead simply test if the executable runs
|
||||||
|
;; without issue.
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(zero? (system* "ruby" "-Ilib" "bin/turn" "-h")))))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("ruby-ansi" ,ruby-ansi)
|
||||||
|
("ruby-minitest" ,ruby-minitest-4)))
|
||||||
|
(synopsis "Alternate set of alternative runners for MiniTest")
|
||||||
|
(description
|
||||||
|
"TURN provides a set of alternative runners for MiniTest which are both
|
||||||
|
colorful and informative. TURN displays each test on a separate line with
|
||||||
|
failures being displayed immediately instead of at the end of the tests. Note
|
||||||
|
that TURN is no longer being maintained.")
|
||||||
|
(home-page "http://rubygems.org/gems/turn")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-ansi
|
(define-public ruby-ansi
|
||||||
(package
|
(package
|
||||||
(name "ruby-ansi")
|
(name "ruby-ansi")
|
||||||
|
|
Loading…
Reference in a new issue