>From 5edfa6742d7ee5a958bae3e66e978ff63f10c41a Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Tue, 29 Dec 2015 14:42:53 +1000 Subject: [PATCH 06/12] gnu: Add ruby-lemon. * gnu/packages/ruby.scm (ruby-lemon): New variable. --- gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a628d9c..150eb5d 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3045,3 +3045,35 @@ like Test::Unit and requirement specifications systems like Cucumber.") for reuse by other test frameworks.") (home-page "http://rubyworks.github.io/ae") (license license:bsd-2))) + +(define-public ruby-lemon + (package + (name "ruby-lemon") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "lemon" version)) + (sha256 + (base32 + "0gqhpgjavgpvx23rqpfqcv3d5bs8gc7lr9yvj8kxgp7mfbdc2jcm")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "qed"))))))) + (propagated-inputs + `(("ruby-ae" ,ruby-ae) + ("ruby-ansi" ,ruby-ansi) + ("ruby-rubytest" ,ruby-rubytest))) + (native-inputs + `(("ruby-qed" ,ruby-qed))) + (synopsis "Test framework that correlates code structure and test unit") + (description + "Lemon is a Unit Testing Framework that enforces highly formal +case-to-class and unit-to-method test construction. This enforcement can help +focus concern on individual units of behavior.") + (home-page "http://rubyworks.github.io/lemon") + (license license:bsd-2))) -- 2.6.3