about summary refs log tree commit diff
path: root/pkgs/tools/text/colordiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/colordiff')
-rw-r--r--pkgs/tools/text/colordiff/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/tools/text/colordiff/default.nix b/pkgs/tools/text/colordiff/default.nix
new file mode 100644
index 000000000000..07ce3de3d13d
--- /dev/null
+++ b/pkgs/tools/text/colordiff/default.nix
@@ -0,0 +1,13 @@
+{stdenv, fetchurl, perl /*, xmlto */}:
+
+stdenv.mkDerivation {
+  name = "colordiff-1.0.9";
+  src = fetchurl {
+    url = http://colordiff.sourceforge.net/colordiff-1.0.9.tar.gz;
+    sha256 = "b2c25d81c10f22380798f146cc5b54ffc5aeb6e5ca1208be2b9508fec1d8e4a6";
+  };
+
+  buildInputs = [ perl /* xmlto */ ];
+  dontBuild = 1; # do not build doc yet.
+  installPhase = ''make INSTALL_DIR=/bin MAN_DIR=/man DESTDIR="$out" install'';
+}