From cd718b8201d00ef26fc49ea88a2a0a4c42358d7d Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 7 Apr 2015 15:29:43 -0500 Subject: [PATCH] gnu: Add Class-MethodMaker. * gnu/packages/perl.scm (perl-class-methodmaker): New variable. --- gnu/packages/perl.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 600de6e3b7..38c6224b73 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -707,6 +707,26 @@ names, not Class::Name. For that, this module provides \"load_class Class::Load") (license artistic2.0))) +(define-public perl-class-methodmaker + (package + (name "perl-class-methodmaker") + (version "2.24") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SC/SCHWIGON/" + "class-methodmaker/Class-MethodMaker-" + version ".tar.gz")) + (sha256 + (base32 + "0a03i4k3a33qqwhykhz5k437ld5mag2vq52vvsy03gbynb65ivsy")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Class-MethodMaker") + (synopsis "Create generic methods for OO Perl") + (description "This module solves the problem of having to continually +write accessor methods for your objects that perform standard tasks.") + (license (package-license perl)))) + (define-public perl-class-method-modifiers (package (name "perl-class-method-modifiers")