From 90fcedf22030655f0c79fec663276a9e5228c217 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Tue, 29 Dec 2015 14:16:42 +1000 Subject: gnu: Add ruby-brass. * gnu/packages/ruby.scm (ruby-brass): New variable. --- gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 17dfd4a86e..bd03d499a0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -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))) -- cgit v1.2.3