2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, qt4, perl, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qshowdiff";
|
|
|
|
version = "1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ qt4 perl ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
mkdir -p $out/{bin,man/man1}
|
|
|
|
makeFlags="PREFIX=$out CC=$CXX"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://qshowdiff.danfis.cz/";
|
|
|
|
description = "Colourful diff viewer";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|