guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/25: gnu: Add HTML-Lint.


From: Eric Bavier
Subject: 07/25: gnu: Add HTML-Lint.
Date: Thu, 19 Mar 2015 21:43:55 +0000

bavier pushed a commit to branch master
in repository guix.

commit 0cd2ab301304fdf539b4541960158083fc38de91
Author: Eric Bavier <address@hidden>
Date:   Tue Mar 17 14:20:28 2015 -0500

    gnu: Add HTML-Lint.
    
    * gnu/packages/web.scm (perl-html-lint): New variable.
---
 gnu/packages/web.scm |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e51d7c6..3fe06e2 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]