diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 14:58:31 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-19 16:43:31 -0500 |
commit | 89a2aa366e4878484c910a75193131f0f03496d4 (patch) | |
tree | bd350e9a603710151db26bb76474c05ac96bcbd0 | |
parent | 66f1d8781bbfeb7bb821d3d248fb234b4414c8c0 (diff) | |
download | guix-89a2aa366e4878484c910a75193131f0f03496d4.tar guix-89a2aa366e4878484c910a75193131f0f03496d4.tar.gz |
gnu: Add CatalystX-Component-Traits.
* gnu/packages/web.scm (perl-catalystx-component-traits): New
variable.
-rw-r--r-- | gnu/packages/web.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 4c058d027d..f5d88a75b0 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -683,6 +683,39 @@ run an application on the web, either by doing them itself, or by letting you \"plug in\" existing Perl modules that do what you need.") (license (package-license perl)))) +(define-public perl-catalystx-component-traits + (package + (name "perl-catalystx-component-traits") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/" + "CatalystX-Component-Traits-" version ".tar.gz")) + (sha256 + (base32 + "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88")))) + (build-system perl-build-system) + (native-inputs + `(("perl-moose" ,perl-moose) + ("perl-catalyst-runtime" ,perl-catalyst-runtime) + ("perl-moosex-methodattributes" ,perl-moosex-methodattributes))) + (propagated-inputs + `(("perl-catalyst-runtime" ,perl-catalyst-runtime) + ("perl-class-load" ,perl-class-load) + ("perl-moose" ,perl-moose) + ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable) + ("perl-namespace-autoclean" ,perl-namespace-autoclean) + ("perl-list-moreutils" ,perl-list-moreutils))) + (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits") + (synopsis "Trait Loading and Resolution for Catalyst Components") + (description "Adds a \"COMPONENT\" in Catalyst::Component method to your +Catalyst component base class that reads the optional \"traits\" parameter +from app and component config and instantiates the component subclass with +those traits using \"new_with_traits\" in MooseX::Traits from +MooseX::Traits::Pluggable.") + (license (package-license perl)))) + (define-public perl-cgi-simple (package (name "perl-cgi-simple") |