about summary refs log tree commit diff
path: root/pkgs/tools/text/qshowdiff/default.nix
blob: 7c76c7f1bca23856b3277b34e3a5461149bd6c60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, qt4, perl}:

stdenv.mkDerivation rec {
  name = "qshowdiff-1.2";
  
  src = fetchurl {
    url = "http://qshowdiff.danfis.cz/files/${name}.tar.gz";
    sha256 = "0i3ssvax4xync9c53jaxribazvh8d8v148l3yiqsfjmqsggw9rh3";
  };

  buildInputs = [ qt4 perl ];

  configurePhase = ''
    mkdir -p $out/{bin,man/man1}
    makeFlags="PREFIX=$out"
  '';

  meta = {
    homepage = http://qshowdiff.danfis.cz/;
    description = "Colourful diff viewer";
    license = "GPLv3+";
  };
}