From 606f2f824c1680343a1aba75ceaccdec5b2eed1d Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 13 Mar 2015 08:29:49 -0500 Subject: gnu: Add Algorithm-C3. * gnu/packages/perl.scm (perl-algorithm-c3): New variable. --- gnu/packages/perl.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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") -- cgit 1.4.1