aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 14:20:28 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-19 16:43:30 -0500
commit0cd2ab301304fdf539b4541960158083fc38de91 (patch)
treed66e0d9801203870e63c4d71fccaf7d9f302cb24 /gnu/packages/web.scm
parentbab57fcda63884bb4b8401c40dc57b273d6c255f (diff)
downloadpatches-0cd2ab301304fdf539b4541960158083fc38de91.tar
patches-0cd2ab301304fdf539b4541960158083fc38de91.tar.gz
gnu: Add HTML-Lint.
* gnu/packages/web.scm (perl-html-lint): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e51d7c6873..3fe06e2ef0 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -756,6 +756,29 @@ which can be used to parse directory listings.")
<form> ... </form> instance.")
(license (package-license perl))))
+(define-public perl-html-lint
+ (package
+ (name "perl-html-lint")
+ (version "2.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
+ "HTML-Lint-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-html-parser" ,perl-html-parser)
+ ("perl-html-tagset" ,perl-html-tagset)
+ ("perl-libwww" ,perl-libwww)))
+ (home-page "http://search.cpan.org/dist/HTML-Lint")
+ (synopsis "Check for HTML errors in a string or file")
+ (description "HTML::Lint is a pure-Perl HTML parser and checker for
+syntactic legitmacy.")
+ (license l:artistic2.0)))
+
(define-public perl-html-parser
(package
(name "perl-html-parser")