diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-22 22:55:00 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-22 22:57:08 +0200 |
commit | 7061116faa50da80d2a791892bccd3e49c6078dc (patch) | |
tree | f352beeef80bfd2599105e5769b1ce679cb75a8d /pkgs/tools/text | |
parent | ce4c20165b8191bd459e50e3d007cc8a5636af66 (diff) |
colordiff: add meta attributes
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/colordiff/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/tools/text/colordiff/default.nix b/pkgs/tools/text/colordiff/default.nix index 06e15d07ff09e..d23a06ebe4855 100644 --- a/pkgs/tools/text/colordiff/default.nix +++ b/pkgs/tools/text/colordiff/default.nix @@ -1,13 +1,23 @@ -{stdenv, fetchurl, perl /*, xmlto */}: +{ 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=/share/man/man1 DESTDIR="$out" install''; + + 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; + platforms = platforms.linux; + }; } |