qshowdiff: fix build

This commit is contained in:
mimadrid 2017-03-04 12:30:16 +01:00 committed by Bjørn Forsman
parent 6c08b145ab
commit 2b38cbb329

View file

@ -1,14 +1,15 @@
{stdenv, fetchurl, qt4, perl}:
{stdenv, fetchurl, qt4, perl, pkgconfig }:
stdenv.mkDerivation rec {
name = "qshowdiff-1.2";
name = "qshowdiff-${version}";
version = "1.2";
src = fetchurl {
url = "http://qshowdiff.danfis.cz/files/${name}.tar.gz";
sha256 = "0i3ssvax4xync9c53jaxribazvh8d8v148l3yiqsfjmqsggw9rh3";
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
};
buildInputs = [ qt4 perl ];
buildInputs = [ qt4 perl pkgconfig ];
configurePhase = ''
mkdir -p $out/{bin,man/man1}