libtidy: new package

A library and CLI to validate, correct, and pretty-print HTML files.
This commit is contained in:
Charles Strahan 2014-12-21 23:31:06 -05:00
parent c5b47329ce
commit 7e4ca1cc75
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, lib, fetchcvs, cmake, libtool, automake, autoconf }:
stdenv.mkDerivation rec {
name = "libtidy-${version}";
version = "1.46";
src = fetchcvs {
cvsRoot = ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy";
module = "tidy";
date = "2009-03-25";
sha256 = "0bnxn1qgjx1pfyn2q4y24yj1gwqq5bxwf5ksjljqzqzrmjv3q46x";
};
preConfigure = ''
source build/gnuauto/setup.sh
'';
buildInputs = [ libtool automake autoconf ];
meta = with lib; {
description = "Validate, correct, and pretty-print HTML files";
homepage = http://tidy.sourceforge.net;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}

View File

@ -1644,6 +1644,8 @@ let
liboauth = callPackage ../development/libraries/liboauth { };
libtidy = callPackage ../development/libraries/libtidy { };
libtirpc = callPackage ../development/libraries/ti-rpc { };
libshout = callPackage ../development/libraries/libshout { };