2021-09-19 21:59:30 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, qt4, perl, pkg-config }:
|
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";
|
|
|
|
|
2021-09-19 21:59:30 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "danfis";
|
|
|
|
repo = "qshowdiff";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "g3AWQ6/LSF59ztzdgNuLi+8d6fFTPiC9z0yXMdPdB5U=";
|
2010-03-15 14:26:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
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 = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://qshowdiff.danfis.cz/";
|
2010-03-15 14:26:52 +00:00
|
|
|
description = "Colourful diff viewer";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2010-03-15 14:26:52 +00:00
|
|
|
};
|
|
|
|
}
|