summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 08:29:49 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit606f2f824c1680343a1aba75ceaccdec5b2eed1d (patch)
treed1cca79a0e2a166abb8fd4e32a99feda52ff63d4 /gnu/packages/perl.scm
parentac42bfff8d3e37edd62b045a670723023c6a0e16 (diff)
downloadguix-606f2f824c1680343a1aba75ceaccdec5b2eed1d.tar.gz
gnu: Add Algorithm-C3.
* gnu/packages/perl.scm (perl-algorithm-c3): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 74d5ecf973..478bd1cfca 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -81,6 +81,25 @@
     (home-page "http://www.perl.org/")
     (license gpl1+)))                          ; or "Artistic"
 
+(define-public perl-algorithm-c3
+  (package
+    (name "perl-algorithm-c3")
+    (version "0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
+                           "Algorithm-C3-" version ".tar.gz"))
+       (sha256
+        (base32
+         "01hlcaxndls86bl92rkd3fvf9pfa3inxqaimv88bxs95803kmkss"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Algorithm-C3")
+    (synopsis "Module for merging hierarchies using the C3 algorithm")
+    (description "This module implements the C3 algorithm, which aims to
+provide a sane method resolution order under multiple inheritance.")
+    (license (package-license perl))))
+
 (define-public perl-algorithm-diff
   (package
     (name "perl-algorithm-diff")