diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-10 15:21:30 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-11 15:48:06 -0500 |
commit | dc1c804a6c4292b4797ef2af4b008f0d566eb0eb (patch) | |
tree | 4c50b4a836176e6e82ddfd2f9aef2d51a657aeb2 /gnu/packages | |
parent | f5721e475fb8e1399f883700d8f71b6d37f20a06 (diff) | |
download | guix-dc1c804a6c4292b4797ef2af4b008f0d566eb0eb.tar.gz |
gnu: Add Apache-LogFormat-Compiler.
* gnu/packages/web.scm (perl-apache-logformat-compiler): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/web.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 07fcc21c31..e245bc6cd9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -496,6 +496,33 @@ from streaming URLs. It is a command-line wrapper for the libquvi library.") (license l:lgpl2.1+))) +(define-public perl-apache-logformat-compiler + (package + (name "perl-apache-logformat-compiler") + (version "0.32") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/" + "Apache-LogFormat-Compiler-" version ".tar.gz")) + (sha256 + (base32 + "0zyx4r2bxc6d48m70fhcq80nw0q9wnfz6qgn1g0r6bigqgdjq4dw")))) + (build-system perl-build-system) + (native-inputs + `(("perl-http-message" ,perl-http-message) + ("perl-test-mocktime" ,perl-test-mocktime) + ("perl-try-tiny" ,perl-try-tiny) + ("perl-uri" ,perl-uri))) + (propagated-inputs + `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler))) + (arguments `(#:tests? #f)) ;TODO: Timezone test failures + (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler") + (synopsis "Compile a log format string to perl-code") + (description "This module provides methods to compile a log format string +to perl-code, for faster generation of access_log lines.") + (license (package-license perl)))) + (define-public perl-encode-locale (package (name "perl-encode-locale") |