From acd1f73a26d53692131c3af63731bc8839732156 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 12:41:58 -0500 Subject: gnu: Add Plack-Middleware-FixMissingBodyInRedirect. * gnu/packages/web.scm (perl-plack-middleware-fixmissingbodyinredirect): New variable. --- gnu/packages/web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 255b7f1dd0..420d1dc918 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1097,6 +1097,31 @@ (define-public perl-plack WSGI.") (license (package-license perl)))) +(define-public perl-plack-middleware-fixmissingbodyinredirect + (package + (name "perl-plack-middleware-fixmissingbodyinredirect") + (version "0.12") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/" + "Plack-Middleware-FixMissingBodyInRedirect-" + version ".tar.gz")) + (sha256 + (base32 + "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc")))) + (build-system perl-build-system) + (native-inputs + `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities + ("perl-http-message" ,perl-http-message) + ("perl-plack" ,perl-plack))) ;for Plack::Test + (home-page + "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect") + (synopsis "Plack::Middleware which sets body for redirect response") + (description "This module sets the body in redirect response, if it's not +already set.") + (license (package-license perl)))) + (define-public perl-test-tcp (package (name "perl-test-tcp") -- cgit v1.2.3