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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
602 B
Nix
Raw Normal View History

2021-09-19 21:59:30 +01:00
{ lib, stdenv, fetchFromGitHub, qt4, perl, pkg-config }:
stdenv.mkDerivation rec {
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=";
};
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;
};
}