1 { lib, stdenv, fetchFromGitHub, cmake, libxslt }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-Tny53PtaQWAMAEjqw4tKnmGURfZhhwFQNCJr9jjWZQY=";
14 nativeBuildInputs = [ cmake libxslt/*manpage*/ ];
18 # ATM bin/tidy is statically linked, as upstream provides no other option yet.
19 # https://github.com/htacg/tidy-html5/issues/326#issuecomment-160322107
22 description = "A HTML validator and `tidier'";
24 HTML Tidy is a command-line tool and C library that can be
25 used to validate and fix HTML data.
27 license = licenses.libpng; # very close to it - the 3 clauses are identical
28 homepage = "http://html-tidy.org";
29 platforms = platforms.all;
30 maintainers = with maintainers; [ edwtjo ];