summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:18:13 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:27 -0600
commit2aa51030e916e0783b0dfdf1617791a42931ae86 (patch)
tree0df2f3b810004cc501c18369930c9a7d7c38d56d /gnu
parent70a9a4911a30205428371d49e846ea9509e650bf (diff)
downloadguix-2aa51030e916e0783b0dfdf1617791a42931ae86.tar.gz
gnu: Add MRO-Compat.
* gnu/packages/perl.scm (perl-mro-compat): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a3bbbc0450..f0e5567b53 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -675,6 +675,27 @@ implementations.")
 handling of Perl modules, which are normally handled at compile time.")
     (license (package-license perl))))
 
+(define-public perl-mro-compat
+  (package
+    (name "perl-mro-compat")
+    (version "0.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
+                           "MRO-Compat-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1mhma2g83ih9f8nkmg2k9l0x6izhhbb6k5lli4rpllxad4wbk9dv"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/MRO-Compat")
+    (synopsis "MRO interface compatibility for Perls < 5.9.5")
+    (description "The \"mro\" namespace provides several utilities for dealing
+with method resolution order and method caching in general in Perl 5.9.5 and
+higher.  This module provides those interfaces for earlier versions of
+Perl (back to 5.6.0).")
+    (license (package-license perl))))
+
 (define-public perl-namespace-clean
   (package
     (name "perl-namespace-clean")