gnu: Add ruby-brass.

* gnu/packages/ruby.scm (ruby-brass): New variable.
This commit is contained in:
Ben Woodcroft 2015-12-29 14:16:42 +10:00
parent 7c8131c76b
commit 90fcedf220

View file

@ -3025,3 +3025,31 @@ (define-public ruby-rubytest
single pass.")
(home-page "http://rubyworks.github.io/rubytest")
(license license:bsd-2)))
(define-public ruby-brass
(package
(name "ruby-brass")
(version "1.2.1")
(source
(origin
(method url-fetch)
(uri (rubygems-uri "brass" version))
(sha256
(base32
"154lp8rp1vmg60ri1j4cb8hqlw37z7bn575h899v8hzxwi11sxka"))))
(build-system ruby-build-system)
(arguments
;; Disable tests to break the cycle brass, lemon, ae, qed, brass.
;; Instead simply test that the library can be require'd.
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(zero? (system* "ruby" "-Ilib" "-r" "brass")))))))
(synopsis "Basic foundational assertions framework")
(description
"BRASS (Bare-Metal Ruby Assertion System Standard) is a basic
foundational assertions framework for other assertion and test frameworks to
make use of.")
(home-page "http://rubyworks.github.io/brass")
(license license:bsd-2)))