guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/21: gnu: Add Class-C3.


From: Eric Bavier
Subject: 04/21: gnu: Add Class-C3.
Date: Fri, 13 Mar 2015 18:51:53 +0000

bavier pushed a commit to branch master
in repository guix.

commit 7a00ad4c2250f9e7cf926d8bd1c28140b9024d03
Author: Eric Bavier <address@hidden>
Date:   Fri Mar 13 08:31:28 2015 -0500

    gnu: Add Class-C3.
    
    * gnu/packages/perl.scm (perl-class-c3): New variable.
---
 gnu/packages/perl.scm |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 478bd1c..9b51faa 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]