From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH] gnu: Add tidy. Date: Fri, 06 Feb 2015 21:15:13 -0500 Message-ID: <87iofeii1a.fsf@fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJuvU-0001XR-Hb for guix-devel@gnu.org; Fri, 06 Feb 2015 21:15:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJuvT-0002xC-8s for guix-devel@gnu.org; Fri, 06 Feb 2015 21:15:16 -0500 Received: from mail.fsf.org ([208.118.235.13]:36524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJuvT-0002x7-5o for guix-devel@gnu.org; Fri, 06 Feb 2015 21:15:15 -0500 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:56269 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1YJuvS-0002Mn-Ds for guix-devel@gnu.org; Fri, 06 Feb 2015 21:15:14 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Thanks to Mark for adding the cvs-fetch download method! --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-tidy.patch >From 0e93fe70c5c512a8d2badb4c710d4ebe772829b9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 6 Feb 2015 21:14:11 -0500 Subject: [PATCH] gnu: Add tidy. * gnu/packages/web.scm (tidy): New variable. --- gnu/packages/web.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 2574752..0e3bf14 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -27,6 +27,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix cvs-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (guix build-system cmake) @@ -288,6 +289,41 @@ domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008 UTS#46") (license l:x11))) +(define-public tidy + (package + (name "tidy") + (version "20091223") + (source (origin + (method cvs-fetch) + (uri (cvs-reference + (root-directory + ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy") + (module "tidy") + (revision "2009-12-23"))) + (sha256 + (base32 + "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb")))) + (build-system gnu-build-system) + (arguments + '(#:phases (alist-cons-before + 'configure 'bootstrap + (lambda* (#:key inputs #:allow-other-keys) + ;; configure.in and Makefile.am aren't in the root of the + ;; source tree. + (copy-recursively "build/gnuauto" ".") + (setenv "AUTOMAKE" "automake --foreign") + (zero? (system* "autoreconf" "-vfi"))) + %standard-phases))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("libtool" ,libtool))) + (synopsis "HTML validator and tidier") + (description "HTML Tidy is a command-line tool and C library that can be +used to validate and fix HTML data.") + (home-page "http://tidy.sourceforge.net/") + (license (l:x11-style "file:///include/tidy.h")))) + (define-public perl-html-tagset (package (name "perl-html-tagset") -- 2.1.4 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--