aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:01:52 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:26 -0600
commit90fb2e2467ade0f6d0d27541b94bb69c1312fd48 (patch)
treee5756a7a03cdb64d734b47392c342707a0ef84fe /gnu
parent884529b780cd753bd235516827f5a1604b9c7c5b (diff)
downloadpatches-90fb2e2467ade0f6d0d27541b94bb69c1312fd48.tar
patches-90fb2e2467ade0f6d0d27541b94bb69c1312fd48.tar.gz
gnu: Add CPAN-Meta-Requirements.
* gnu/packages/perl.scm (perl-cpan-meta-requirements): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm29
1 files changed, 29 insertions, 0 deletions
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