From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3ntd-0001uQ-NY for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3ntb-0006M7-Pt for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55395) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3ntZ-0006Ke-9Z for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3ntZ-0003kN-3T for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:05 -0400 Subject: [bug#34831] [PATCH 05/25] gnu: Add perl6-tap-harness. Resent-Message-ID: From: Efraim Flashner Date: Tue, 12 Mar 2019 22:19:54 +0200 Message-Id: <20190312202014.31224-5-efraim@flashner.co.il> In-Reply-To: <20190312201608.30892-1-efraim@flashner.co.il> References: <20190312201608.30892-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34831@debbugs.gnu.org * gnu/packages/perl6.scm (perl6-tap-harness): New variable. --- gnu/packages/perl6.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 9659361309..1bcd99faff 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -22,6 +22,7 @@ #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system perl) + #:use-module (guix build-system rakudo) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) @@ -227,3 +228,33 @@ regular expression engine for the virtual machine.") (description "Rakudo Perl is a compiler that implements the Perl 6 specification and runs on top of several virtual machines.") (license license:artistic2.0))) + +(define-public perl6-tap-harness + (package + (name "perl6-tap-harness") + (version "0.0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/perl6/tap-harness6.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lig8i0my3fgqvlay9532xslbf3iis2d7wz89gniwvwqffi2kh6r")))) + (build-system rakudo-build-system) + (arguments + '(#:with-zef? #f + #:with-prove6? #f + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "perl6" "-Ilib" "bin/prove6" "-l" "t")))))) + (home-page "https://github.com/perl6/tap-harness6/") + (synopsis "TAP harness for perl6") + (description "This module provides the @command{prove6} command which runs a +TAP based test suite and prints a report. The @command{prove6} command is a +minimal wrapper around an instance of this module.") + (license license:artistic2.0))) -- 2.21.0