From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 6/7] gnu: Add Test::Output. Date: Sat, 21 Feb 2015 20:16:31 +0100 Message-ID: <1424546192-26668-7-git-send-email-rekado@elephly.net> References: <1424546192-26668-1-git-send-email-rekado@elephly.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPFZL-0000dl-1e for guix-devel@gnu.org; Sat, 21 Feb 2015 14:18:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPFZF-0007l7-Kj for guix-devel@gnu.org; Sat, 21 Feb 2015 14:18:26 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:30027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPFZF-0007l3-D5 for guix-devel@gnu.org; Sat, 21 Feb 2015 14:18:21 -0500 In-Reply-To: <1424546192-26668-1-git-send-email-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/perl.scm (perl-test-output): New variable. --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 43bffd8..214ab3e 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -480,6 +480,31 @@ bin as is also commonly used) paths of your Perl distribution.") "Test-Simple-" version)) (license (package-license perl)))) +(define-public perl-test-output + (package + (name "perl-test-output") + (version "1.03") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" + "Test-Output-" version ".tar.gz")) + (sha256 + (base32 + "12991jnzj4cbw9whhprmqvnzd1ayii84g2mh8vxbjngwqrjsy41i")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-capture-tiny" ,perl-capture-tiny) + ("perl-test-tester" ,perl-test-tester) + ("perl-sub-exporter" ,perl-sub-exporter))) + (synopsis "Utilities to test STDOUT and STDERR messages") + (description + "Test::Output provides a simple interface for testing output sent to +STDOUT or STDERR. A number of different utilities are included to try and be +as flexible as possible to the tester.") + (home-page (string-append "http://search.cpan.org/~bdfoy/" + "Test-Output-" version)) + (license (package-license perl)))) + (define-public perl-test-tester (package (name "perl-test-tester") -- 2.1.0