summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-05-25 15:03:37 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2015-05-25 15:05:05 +0200
commit161fdec0f5cd035c5999ad2863ddd25ef7e2136b (patch)
treeab2c01bcf035fe4707482b3799c56533e2b8aa47 /pkgs/tools/text
parentd808f5b3e669e9924a5d44ee3a966e94e92c8f3b (diff)
downloadnixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.tar
nixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.tar.gz
nixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.tar.bz2
nixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.tar.lz
nixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.tar.xz
nixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.tar.zst
nixlib-161fdec0f5cd035c5999ad2863ddd25ef7e2136b.zip
tidy-html5: added package, also provides libtidy5
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/tidy-html5/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/tidy-html5/default.nix b/pkgs/tools/text/tidy-html5/default.nix
new file mode 100644
index 000000000000..e2651e202938
--- /dev/null
+++ b/pkgs/tools/text/tidy-html5/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, lib, cmake, fetchFromGitHub, ... }:
+
+stdenv.mkDerivation rec {
+
+  name = "tidy-html5";
+  version = "4.9.30";
+
+  src = fetchFromGitHub {
+    owner = "htacg";
+    repo = "tidy-html5";
+    rev = version;
+    sha256 = "0hd4c23352r5lnh23mx137wb4mkxcjdrl1dy8kgghszik5fprs3s";
+  };
+
+  buildInputs = [ cmake ];
+
+  meta = with stdenv.lib; {
+    description = "The granddaddy of HTML tools, with support for modern standards";
+    homepage = "http://www.html-tidy.org/";
+    license = licenses.w3c;
+    maintainers = with maintainers; [ edwtjo ];
+  };
+
+}