summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 08:31:28 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit7a00ad4c2250f9e7cf926d8bd1c28140b9024d03 (patch)
tree2d47dfb9e1802403e088391671b3ff2b2b09f92a /gnu
parent606f2f824c1680343a1aba75ceaccdec5b2eed1d (diff)
downloadguix-7a00ad4c2250f9e7cf926d8bd1c28140b9024d03.tar.gz
gnu: Add Class-C3.
* gnu/packages/perl.scm (perl-class-c3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 478bd1cfca..9b51faabcf 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -327,6 +327,28 @@ your class.")
 different getters and setters.")
     (license (package-license perl))))
 
+(define-public perl-class-c3
+  (package
+    (name "perl-class-c3")
+    (version "0.27")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
+                           "Class-C3-" version ".tar.gz"))
+       (sha256
+        (base32
+         "185jdpr4applrkvh71ks9ildx5kdymhqr4hilsqxwqny1wr56qss"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-algorithm-c3" ,perl-algorithm-c3)))
+    (home-page "http://search.cpan.org/dist/Class-C3")
+    (synopsis "Pragma to use the C3 method resolution order algorithm")
+    (description "This is pragma to change Perl 5's standard method resolution
+order from depth-first left-to-right (a.k.a - pre-order) to the more
+sophisticated C3 method resolution order.")
+    (license (package-license perl))))
+
 (define-public perl-class-c3-adopt-next
   (package
     (name "perl-class-c3-adopt-next")