summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 08:32:32 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit42641c44a604b4a95fdf6eafc801bd36d110292a (patch)
treedd619ad8d2654f1d1914e156313fbfe485b45ee3
parent7a00ad4c2250f9e7cf926d8bd1c28140b9024d03 (diff)
downloadguix-42641c44a604b4a95fdf6eafc801bd36d110292a.tar.gz
gnu: Add Class-C3-Componentised.
* gnu/packages/perl.scm (perl-class-c3-componentised): New variable.
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9b51faabcf..f552c51912 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -373,6 +373,31 @@ sophisticated C3 method resolution order.")
 supporting the same interface, but using Class::C3 to do the hard work.")
     (license (package-license perl))))
 
+(define-public perl-class-c3-componentised
+  (package
+    (name "perl-class-c3-componentised")
+    (version "1.001000")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
+                           "Class-C3-Componentised-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1nzav8arxll0rya7r2vp032s3acliihbb9mjlfa13rywhh77bzvl"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-exception" ,perl-test-exception)))
+    (propagated-inputs
+     `(("perl-class-c3" ,perl-class-c3)
+       ("perl-class-inspector" ,perl-class-inspector)
+       ("perl-mro-compat" ,perl-mro-compat)))
+    (home-page "http://search.cpan.org/dist/Class-C3-Componentised")
+    (synopsis "Load mix-ins or components to your C3-based class")
+    (description "This module will inject base classes to your module using
+the Class::C3 method resolution order.")
+    (license (package-license perl))))
+
 (define-public perl-class-data-inheritable
   (package
     (name "perl-class-data-inheritable")