summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 16:39:46 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:56 -0500
commit4abba47dc6d3aacd17226b8f85645672a172f59a (patch)
tree046caf90abe0dd1a01005b7b3716f9505e2ec171 /gnu/packages
parent76b8b86c91929bbcd2d1d98977cfe50532223ffa (diff)
downloadguix-4abba47dc6d3aacd17226b8f85645672a172f59a.tar.gz
gnu: Add Class-C3-Adopt-NEXT.
* gnu/packages/perl.scm (perl-class-c3-adopt-next): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b02e47fa9b..15e28eb70a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -195,6 +195,30 @@ code or from an external program.  Optionally, output can be teed so that it
 is captured while being passed through to the original file handles.")
     (license asl2.0)))
 
+(define-public perl-class-c3-adopt-next
+  (package
+    (name "perl-class-c3-adopt-next")
+    (version "0.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
+                           "Class-C3-Adopt-NEXT-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rwgbx6dsy4rpas94p8wakzj7hrla1p15jnbm24kwhsv79gp91ld"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-exception" ,perl-test-exception)))
+    (propagated-inputs
+     `(("perl-list-moreutils" ,perl-list-moreutils)
+       ("perl-mro-compat" ,perl-mro-compat)))
+    (home-page "http://search.cpan.org/dist/Class-C3-Adopt-NEXT")
+    (synopsis "Drop-in replacement for NEXT")
+    (description "This module is intended as a drop-in replacement for NEXT,
+supporting the same interface, but using Class::C3 to do the hard work.")
+    (license (package-license perl))))
+
 (define-public perl-class-data-inheritable
   (package
     (name "perl-class-data-inheritable")