From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 3/7] gnu: Add Capture::Tiny. Date: Sat, 21 Feb 2015 20:16:28 +0100 Message-ID: <1424546192-26668-4-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]:39311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPFY6-0000FO-LA for guix-devel@gnu.org; Sat, 21 Feb 2015 14:17:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPFY5-0007Ho-KY for guix-devel@gnu.org; Sat, 21 Feb 2015 14:17:10 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:30770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPFY5-0007Hf-Cp for guix-devel@gnu.org; Sat, 21 Feb 2015 14:17:09 -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-capture-tiny): New variable. --- gnu/packages/perl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 2b7ca61..5e3cdcb 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -209,6 +209,29 @@ but don't want to go all out and profile your code.") "Benchmark-Timer-" version)) (license gpl2))) +(define-public perl-capture-tiny + (package + (name "perl-capture-tiny") + (version "0.28") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DA/DAGOLDEN/Capture-Tiny-" + version ".tar.gz")) + (sha256 + (base32 + "117gmwipql1y5xnw9jil3lhdsrf2wsm9wjdzqj66x971n3fwm573")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Capture-Tiny") + (synopsis "Capture STDOUT and STDERR from Perl, XS or external programs") + (description + "Capture::Tiny provides a simple, portable way to capture almost anything +sent to STDOUT or STDERR, regardless of whether it comes from Perl, from XS +code or from an external program. Optionally, output can be teed so that it +is captured while being passed through to the original file handles.") + (license asl2.0))) + (define-public perl-exporter-lite (package (name "perl-exporter-lite") -- 2.1.0