From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drsug-0001J1-OF for guix-patches@gnu.org; Tue, 12 Sep 2017 17:40:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drsuf-0002io-Nk for guix-patches@gnu.org; Tue, 12 Sep 2017 17:40:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drsuf-0002hl-Ki for guix-patches@gnu.org; Tue, 12 Sep 2017 17:40:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drsuf-0003wH-Aa for guix-patches@gnu.org; Tue, 12 Sep 2017 17:40:09 -0400 Subject: [bug#28177] [PATCH 09/12] gnu: Add perl-html-scrubber. Resent-Message-ID: From: Christopher Baines Date: Tue, 12 Sep 2017 22:39:01 +0100 Message-Id: <20170912213904.24503-9-mail@cbaines.net> In-Reply-To: <20170912213904.24503-1-mail@cbaines.net> References: <20170912213904.24503-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28177@debbugs.gnu.org * gnu/packages/web.scm (perl-html-scrubber): New variable. --- gnu/packages/web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 377e366e2..5f255abf1 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2185,6 +2185,37 @@ composed of HTML::Element style components.")
...
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") -- 2.14.1