aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-03 14:49:48 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-04 00:46:04 -0500
commitc985cfe624dd388ef342399360e308386fe8c94f (patch)
tree5b253e20b788a1ac4d861c21c3bdad6a629521ce /gnu
parent419dd41152dc84e57fbab4e488cfd579f7cd8961 (diff)
downloadguix-c985cfe624dd388ef342399360e308386fe8c94f.tar
guix-c985cfe624dd388ef342399360e308386fe8c94f.tar.gz
gnu: Add Catalyst-View-JSON.
* gnu/packages/web.scm (perl-catalyst-view-json): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d0cad375b2..42d58c8989 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1101,6 +1101,31 @@ downloading data into many supportable formats. For example, downloading a
table based report in a variety of formats (CSV, HTML, etc.). ")
(license (package-license perl))))
+(define-public perl-catalyst-view-json
+ (package
+ (name "perl-catalyst-view-json")
+ (version "0.35")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
+ "Catalyst-View-JSON-" version ".tar.gz"))
+ (sha256
+ (base32
+ "184pyghlrkl7p387bnyvswi2d9myvdg4v3lax6xrd59shskvpmkm"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-yaml" ,perl-yaml)))
+ (inputs
+ `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
+ ("perl-json-maybexs" ,perl-json-maybexs)
+ ("perl-mro-compat" ,perl-mro-compat)))
+ (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
+ (synopsis "Catalyst JSON view")
+ (description "Catalyst::View::JSON is a Catalyst View handler that returns
+stash data in JSON format.")
+ (license (package-license perl))))
+
(define-public perl-catalystx-component-traits
(package
(name "perl-catalystx-component-traits")