diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-12-21 23:31:06 -0500 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2014-12-24 22:48:01 -0500 |
commit | 7e4ca1cc75efac1656f790829145554c142132c9 (patch) | |
tree | a976861f9f6d3824bd66ab21c6754ac3bc17e57b | |
parent | c5b47329ce86a44a1532b5d3d1b78e2713aa58c3 (diff) | |
download | nixlib-7e4ca1cc75efac1656f790829145554c142132c9.tar nixlib-7e4ca1cc75efac1656f790829145554c142132c9.tar.gz nixlib-7e4ca1cc75efac1656f790829145554c142132c9.tar.bz2 nixlib-7e4ca1cc75efac1656f790829145554c142132c9.tar.lz nixlib-7e4ca1cc75efac1656f790829145554c142132c9.tar.xz nixlib-7e4ca1cc75efac1656f790829145554c142132c9.tar.zst nixlib-7e4ca1cc75efac1656f790829145554c142132c9.zip |
libtidy: new package
A library and CLI to validate, correct, and pretty-print HTML files.
-rw-r--r-- | pkgs/development/libraries/libtidy/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libtidy/default.nix b/pkgs/development/libraries/libtidy/default.nix new file mode 100644 index 000000000000..412f34008f11 --- /dev/null +++ b/pkgs/development/libraries/libtidy/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d60754f0880..b89dd6295722 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |