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