From 7a00ad4c2250f9e7cf926d8bd1c28140b9024d03 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 13 Mar 2015 08:31:28 -0500 Subject: [PATCH] gnu: Add Class-C3. * gnu/packages/perl.scm (perl-class-c3): New variable. --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ (define-public perl-class-accessor-grouped 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")