>From a6f0972e10e7fe4ede3082cc22b24c0af69f7ae9 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Tue, 29 Dec 2015 14:37:45 +1000 Subject: [PATCH 05/12] gnu: Add ruby-ae. * gnu/packages/ruby.scm (ruby-ae): New variable. --- gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8ad4864..a628d9c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3012,3 +3012,36 @@ Programming techniques. QED sits somewhere between lower-level testing tools like Test::Unit and requirement specifications systems like Cucumber.") (home-page "http://rubyworks.github.io/qed") (license license:bsd-2))) + +(define-public ruby-ae + (package + (name "ruby-ae") + (version "1.8.2") + (source + (origin + (method url-fetch) + ;; fetch from github so tests are included ? + (uri (string-append + "https://github.com/rubyworks/ae/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "147jmkx54x7asy2d8m4dyrhhf4hdx4galpnhwzai030y3cdsfrrl")))) + (build-system ruby-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "qed"))))))) + (propagated-inputs + `(("ruby-ansi" ,ruby-ansi))) + (native-inputs + `(("ruby-qed" ,ruby-qed))) + (synopsis "Assertions library") + (description + "Assertive Expressive (AE) is an assertions library specifically designed +for reuse by other test frameworks.") + (home-page "http://rubyworks.github.io/ae") + (license license:bsd-2))) -- 2.6.3