libtidy: new package
A library and CLI to validate, correct, and pretty-print HTML files.
This commit is contained in:
parent
c5b47329ce
commit
7e4ca1cc75
28
pkgs/development/libraries/libtidy/default.nix
Normal file
28
pkgs/development/libraries/libtidy/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1644,6 +1644,8 @@ let
|
||||||
|
|
||||||
liboauth = callPackage ../development/libraries/liboauth { };
|
liboauth = callPackage ../development/libraries/liboauth { };
|
||||||
|
|
||||||
|
libtidy = callPackage ../development/libraries/libtidy { };
|
||||||
|
|
||||||
libtirpc = callPackage ../development/libraries/ti-rpc { };
|
libtirpc = callPackage ../development/libraries/ti-rpc { };
|
||||||
|
|
||||||
libshout = callPackage ../development/libraries/libshout { };
|
libshout = callPackage ../development/libraries/libshout { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user