2014-06-22 20:55:00 +00:00
|
|
|
{ stdenv, fetchurl, perl /*, xmlto */}:
|
2011-04-17 08:26:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-07-26 23:37:17 +00:00
|
|
|
name = "colordiff-1.0.15";
|
2014-06-22 20:55:00 +00:00
|
|
|
|
2011-04-17 08:26:56 +00:00
|
|
|
src = fetchurl {
|
2015-07-26 23:37:17 +00:00
|
|
|
url = http://www.colordiff.org/colordiff-1.0.15.tar.gz;
|
|
|
|
sha256 = "0icx4v2h1gy08vhh3qqi2qfyfjp37vgj27hq1fnjz83bg7ly8pjr";
|
2011-04-17 08:26:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl /* xmlto */ ];
|
2014-06-22 20:55:00 +00:00
|
|
|
|
2011-04-17 08:26:56 +00:00
|
|
|
dontBuild = 1; # do not build doc yet.
|
2014-06-22 20:55:00 +00:00
|
|
|
|
2011-10-09 18:45:47 +00:00
|
|
|
installPhase = ''make INSTALL_DIR=/bin MAN_DIR=/share/man/man1 DESTDIR="$out" install'';
|
2014-06-22 20:55:00 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Wrapper for 'diff' that produces the same output but with pretty 'syntax' highlighting";
|
|
|
|
homepage = http://www.colordiff.org/;
|
|
|
|
license = licenses.gpl3;
|
2015-08-13 14:11:36 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2015-07-26 23:37:17 +00:00
|
|
|
maintainer = with maintainers; [ nckx ];
|
2014-06-22 20:55:00 +00:00
|
|
|
};
|
2011-04-17 08:26:56 +00:00
|
|
|
}
|