[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/25: gnu: Add Catalyst-Action-REST.
From: |
Eric Bavier |
Subject: |
02/25: gnu: Add Catalyst-Action-REST. |
Date: |
Thu, 19 Mar 2015 21:43:53 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit aaef00bf9d9d87ec1fbeed4923c9ff487a3400bd
Author: Eric Bavier <address@hidden>
Date: Tue Mar 17 13:52:20 2015 -0500
gnu: Add Catalyst-Action-REST.
* gnu/packages/web.scm (perl-catalyst-action-rest): New variable.
---
gnu/packages/web.scm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0e94269..7917382 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -523,6 +523,38 @@ from streaming URLs. It is a command-line wrapper for the
libquvi library.")
to perl-code, for faster generation of access_log lines.")
(license (package-license perl))))
+(define-public perl-catalyst-action-rest
+ (package
+ (name "perl-catalyst-action-rest")
+ (version "1.17")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
+ "Catalyst-Action-REST-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rnxmsd9dsqz4xc0g9ynafxi934jwp0nixbg92q3bc2h46xcccy8"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-requires" ,perl-test-requires)))
+ (propagated-inputs
+ `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
+ ("perl-class-inspector" ,perl-class-inspector)
+ ("perl-libwww" ,perl-libwww)
+ ("perl-moose" ,perl-moose)
+ ("perl-mro-compat" ,perl-mro-compat)
+ ("perl-namespace-autoclean" ,perl-namespace-autoclean)
+ ("perl-params-validate" ,perl-params-validate)
+ ("perl-uri-find" ,perl-uri-find)))
+ (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
+ (synopsis "Automated REST Method Dispatching")
+ (description "This Action handles doing automatic method dispatching for
+REST requests. It takes a normal Catalyst action, and changes the dispatch to
+append an underscore and method name. First it will try dispatching to an
+action with the generated name, and failing that it will try to dispatch to a
+regular method.")
+ (license (package-license perl))))
+
(define-public perl-catalyst-runtime
(package
(name "perl-catalyst-runtime")
- branch master updated (9a5c4cd -> f643a6e), Eric Bavier, 2015/03/19
- 03/25: gnu: Add Test-LongString., Eric Bavier, 2015/03/19
- 02/25: gnu: Add Catalyst-Action-REST.,
Eric Bavier <=
- 05/25: gnu: Add Carp-Assert-More., Eric Bavier, 2015/03/19
- 06/25: gnu: Add HTML-Form., Eric Bavier, 2015/03/19
- 04/25: gnu: Add Carp-Assert., Eric Bavier, 2015/03/19
- 10/25: gnu: Add WWW-Mechanize., Eric Bavier, 2015/03/19
- 08/25: gnu: Add HTML-Tree., Eric Bavier, 2015/03/19
- 09/25: gnu: Add HTTP-Server-Simple., Eric Bavier, 2015/03/19
- 11/25: gnu: Add Test-WWW-Mechanize., Eric Bavier, 2015/03/19
- 01/25: gnu: Add URI-Find., Eric Bavier, 2015/03/19
- 13/25: gnu: Add Object-Signature., Eric Bavier, 2015/03/19
- 12/25: gnu: Add Test-WWW-Mechanize-PSGI., Eric Bavier, 2015/03/19