mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
24 lines
512 B
Nix
24 lines
512 B
Nix
{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 = stdenv.lib.licenses.gpl3Plus;
|
|
};
|
|
}
|