aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-08-21 11:39:14 +0100
committerChristopher Baines <mail@cbaines.net>2017-09-13 18:19:30 +0100
commit4f0ee1b4dff4fa224b7178134410b8821f137d13 (patch)
treec6028e6cb0d57c6e49c85114116c5b1674359619
parent7d1f9c91e67ccdcc0d798b124e0b967177ea6b72 (diff)
downloadguix-4f0ee1b4dff4fa224b7178134410b8821f137d13.tar
guix-4f0ee1b4dff4fa224b7178134410b8821f137d13.tar.gz
gnu: Add perl-html-scrubber.
* gnu/packages/web.scm (perl-html-scrubber): New variable.
-rw-r--r--gnu/packages/web.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 377e366e27..5f255abf1e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2185,6 +2185,37 @@ composed of HTML::Element style components.")
<form> ... </form> instance.")
(license l:perl-license)))
+(define-public perl-html-scrubber
+ (package
+ (name "perl-html-scrubber")
+ (version "0.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1m1f8gm2jry42zxja05dxp2ck7y66m7i8vc38nj6hccnwlby6cvi"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)
+ ("perl-test-cpan-meta" ,perl-test-cpan-meta)
+ ("perl-test-eol" ,perl-test-eol)
+ ("perl-test-memory-cycle" ,perl-test-memory-cycle)
+ ("perl-test-notabs" ,perl-test-notabs)))
+ (inputs
+ `(("perl-html-parser" ,perl-html-parser)))
+ (home-page
+ "http://search.cpan.org/dist/HTML-Scrubber")
+ (synopsis
+ "Perl extension for scrubbing/sanitizing html")
+ (description
+ "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
+ (license l:perl-license)))
+
(define-public perl-html-lint
(package
(name "perl-html-lint")