summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-20 12:18:18 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-20 14:22:36 -0500
commitcd39d814b1f538a09321bb9779cfe35f0b8dd39c (patch)
tree2259b5cb82b322145a28c38001f9ec0b75b92d20
parentc666dc3934edf18a83cc03624a8470c17373d97c (diff)
downloadguix-cd39d814b1f538a09321bb9779cfe35f0b8dd39c.tar.gz
gnu: Add Catalyst-Action-RenderView.
* gnu/packages/web.scm (perl-catalyst-action-renderview): New variable.
-rw-r--r--gnu/packages/web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index c156382585..1271fa95d2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -524,6 +524,32 @@ 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-renderview
+  (package
+    (name "perl-catalyst-action-renderview")
+    (version "0.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
+                           "Catalyst-Action-RenderView-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-http-request-ascgi" ,perl-http-request-ascgi)))
+    (propagated-inputs
+     `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
+       ("perl-data-visitor" ,perl-data-visitor)
+       ("perl-mro-compat" ,perl-mro-compat)))
+    (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
+    (synopsis "Sensible default Catalyst action")
+    (description "This Catalyst action implements a sensible default end
+action, which will forward to the first available view.")
+    (license (package-license perl))))
+
 (define-public perl-catalyst-action-rest
   (package
     (name "perl-catalyst-action-rest")