diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-02-26 14:51:24 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-03-23 22:26:48 +0200 |
commit | d617087718fef101586840c38160801087215c47 (patch) | |
tree | e5ce79da8afbc848a68cf35fbfb363b5ef2e904e /gnu | |
parent | 4e4c3114653d23926aea7b658f6a2ba04bc0e2f3 (diff) | |
download | gnu-guix-d617087718fef101586840c38160801087215c47.tar gnu-guix-d617087718fef101586840c38160801087215c47.tar.gz |
gnu: Add perl6-tap-harness.
* gnu/packages/perl6.scm (perl6-tap-harness): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl6.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index b6781936f1..8a1810612f 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -19,8 +19,10 @@ (define-module (gnu packages perl6) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) + #: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) @@ -225,3 +227,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))) |