From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3ntk-00022T-5m for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3ntd-0006OH-9y for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3nta-0006LO-Df for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3nta-0003ko-7Y for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:06 -0400 Subject: [bug#34831] [PATCH 06/25] gnu: Add perl6-zef. Resent-Message-ID: From: Efraim Flashner Date: Tue, 12 Mar 2019 22:19:55 +0200 Message-Id: <20190312202014.31224-6-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-zef): 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 1bcd99faff..1f5af42d04 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -258,3 +258,34 @@ specification and runs on top of several virtual machines.") 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))) + +(define-public perl6-zef + (package + (name "perl6-zef") + (version "0.6.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ugexe/zef.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07n7g1xw2c4g860rs890gx85vyhdq0ysgwbrnzw6q905jph2bkv7")))) + (build-system rakudo-build-system) + (arguments + '(#:with-zef? #f + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "HOME" "/tmp") + (invoke "perl6" "-I." "bin/zef" "--debug" + "--tap-harness" "test" ".")))))) + (home-page "https://github.com/ugexe/zef") + (synopsis "Perl6 Module Management") + (description "Zef is a Perl 6 package (module) manager. It can be used to +download and install Perl 6 modules in your home directory or as a system-wide +module.") + (license license:artistic2.0))) -- 2.21.0