mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
598 B
Nix
26 lines
598 B
Nix
{stdenv, fetchurl, qt4, perl, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qshowdiff";
|
|
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 CC=$CXX"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://qshowdiff.danfis.cz/;
|
|
description = "Colourful diff viewer";
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
};
|
|
}
|