From 90fb2e2467ade0f6d0d27541b94bb69c1312fd48 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 15:01:52 -0600 Subject: gnu: Add CPAN-Meta-Requirements. * gnu/packages/perl.scm (perl-cpan-meta-requirements): New variable. --- gnu/packages/perl.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 25540490eb..b4804e8676 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -618,3 +618,32 @@ a minimum of effort.") "Test-Tester-" version)) ;; "Under the same license as Perl itself" (license (package-license perl)))) + + +;;; Some packaged modules need versions of core modules that are newer than +;;; those in our perl 5.16.1. + +(define-public perl-cpan-meta-requirements + (package + (name "perl-cpan-meta-requirements") + (version "2.131") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/" + "CPAN-Meta-Requirements-" version ".tar.gz")) + (sha256 + (base32 + "12p5s7w3cwcrbpcrxzanvpr0syswhwlqzbaki6m044c45jix2fss")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/CPAN-Meta-Requirements") + (synopsis "Set of version requirements for a CPAN dist") + (description "A CPAN::Meta::Requirements object models a set of version +constraints like those specified in the META.yml or META.json files in CPAN +distributions, and as defined by CPAN::Meta::Spec. It can be built up by +adding more and more constraints, and will reduce them to the simplest +representation.") + (license (package-license perl)))) + + +;;; END: Core module overrides -- cgit v1.2.3