From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efs1x-0002ra-IJ for guix-patches@gnu.org; Sun, 28 Jan 2018 13:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efs1t-00074L-OX for guix-patches@gnu.org; Sun, 28 Jan 2018 13:50:17 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:38652) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efs1s-000747-Ud for guix-patches@gnu.org; Sun, 28 Jan 2018 13:50:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efs1s-0007P9-NI for guix-patches@gnu.org; Sun, 28 Jan 2018 13:50:12 -0500 Subject: [bug#30274] [PATCH 19/21] gnu: Add perl-universal-require. Resent-Message-ID: From: Oleg Pykhalov Date: Sun, 28 Jan 2018 21:48:26 +0300 Message-Id: <20180128184828.32395-19-go.wigust@gmail.com> In-Reply-To: <20180128184828.32395-1-go.wigust@gmail.com> References: <20180128184828.32395-1-go.wigust@gmail.com> 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: 30274@debbugs.gnu.org * gnu/packages/perl.scm (perl-universal-require): New public variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index be89ee2b7..82ed20825 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8537,6 +8537,27 @@ UNIVERSAL::can() as a function, which it is not.") UNIVERSAL::isa as a function.") (license (package-license perl)))) +(define-public perl-universal-require + (package + (name "perl-universal-require") + (version "0.18") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NE/NEILB/UNIVERSAL-require-" + version ".tar.gz")) + (sha256 + (base32 + "1v9qdg80ng6dzyzs7cn8sb6mn8ym042i32lcnpd478b7g6l3d9xj")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/UNIVERSAL-require/") + (synopsis "Require modules from a variable") + (description "This module lets you require other modules where the module +name is in a variable, something you can't do with the @code{require} +built-in.") + (license (package-license perl)))) + (define-public perl-variable-magic (package (name "perl-variable-magic") -- 2.15.1