nixpkgs/pkgs/tools/text/qshowdiff/default.nix

26 lines
600 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, qt4, perl, pkg-config }:
stdenv.mkDerivation rec {
pname = "qshowdiff";
2017-03-04 11:30:16 +00:00
version = "1.2";
src = fetchurl {
2017-03-04 11:30:16 +00:00
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ qt4 perl ];
configurePhase = ''
mkdir -p $out/{bin,man/man1}
2019-01-04 19:33:51 +00:00
makeFlags="PREFIX=$out CC=$CXX"
'';
meta = {
homepage = "http://qshowdiff.danfis.cz/";
description = "Colourful diff viewer";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl3Plus;
};
}