2017-03-04 11:30:16 +00:00
|
|
|
{stdenv, fetchurl, qt4, perl, pkgconfig }:
|
2010-03-15 14:26:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "qshowdiff";
|
2017-03-04 11:30:16 +00:00
|
|
|
version = "1.2";
|
|
|
|
|
2010-03-15 14:26:52 +00:00
|
|
|
src = fetchurl {
|
2017-03-04 11:30:16 +00:00
|
|
|
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
|
2010-03-15 14:26:52 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ qt4 perl ];
|
2010-03-15 14:26:52 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/{bin,man/man1}
|
2019-01-04 19:33:51 +00:00
|
|
|
makeFlags="PREFIX=$out CC=$CXX"
|
2010-03-15 14:26:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://qshowdiff.danfis.cz/;
|
|
|
|
description = "Colourful diff viewer";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-03-15 14:26:52 +00:00
|
|
|
};
|
|
|
|
}
|