From 2d881f8d54138cf4b3bb4ec1a04c7814263faebd Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 4 Feb 2018 14:53:18 +0100 Subject: WIP --- gnu/packages/ruby.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6f607629b1..514a82f7a0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1384,6 +1384,33 @@ use GNU gettext tools for maintenance.") (home-page "http://ranguba.org/packnga/") (license license:lgpl2.0+))) +(define-public ruby-test-unit-2 + (package + (name "ruby-test-unit") + (version "2.5.5") + (source (origin + (method url-fetch) + (uri (rubygems-uri "test-unit" version)) + (sha256 + (base32 + "0iwxfzhdc9x4d9x2vhximgr2vlbk0a7zlwq5ir1lr5lk89cdc5ij")))) + (build-system ruby-build-system) + (arguments + '(#:tests? #f)) + (propagated-inputs + `(("ruby-power-assert" ,ruby-power-assert))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-packnga" ,ruby-packnga) + ("ruby-yard" ,ruby-yard))) + (synopsis "Unit testing framework for Ruby") + (description "@code{Test::Unit} is unit testing framework for Ruby, based +on xUnit principles. These were originally designed by Kent Beck, creator of +extreme programming software development methodology, for Smalltalk's SUnit. +It allows writing tests, checking results and automated testing in Ruby.") + (home-page "https://test-unit.github.io/") + (license (list license:psfl license:ruby)))) + (define-public ruby-test-unit (package (name "ruby-test-unit") @@ -2726,7 +2753,7 @@ a native C extension.") `(("bundler" ,bundler) ("ragel" ,ragel) ("ruby-simplecov" ,ruby-simplecov) - ("ruby-test-unit" ,ruby-test-unit))) + ("ruby-test-unit" ,ruby-test-unit-2))) (synopsis "JSON implementation in pure Ruby") (description "This package provides a JSON implementation written in pure Ruby.") -- cgit v1.2.3