1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/text/qshowdiff/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

26 lines
600 B
Nix

{stdenv, fetchurl, qt4, perl, pkgconfig }:
stdenv.mkDerivation rec {
name = "qshowdiff-${version}";
version = "1.2";
src = fetchurl {
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ qt4 perl ];
configurePhase = ''
mkdir -p $out/{bin,man/man1}
makeFlags="PREFIX=$out"
'';
meta = {
homepage = http://qshowdiff.danfis.cz/;
description = "Colourful diff viewer";
license = stdenv.lib.licenses.gpl3Plus;
};
}