Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

qshowdiff: fix build

authored by

mimadrid and committed by
Bjørn Forsman
2b38cbb3 6c08b145

+7 -6
+7 -6
pkgs/tools/text/qshowdiff/default.nix
··· 1 - {stdenv, fetchurl, qt4, perl}: 1 + {stdenv, fetchurl, qt4, perl, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "qshowdiff-1.2"; 5 - 4 + name = "qshowdiff-${version}"; 5 + version = "1.2"; 6 + 6 7 src = fetchurl { 7 - url = "http://qshowdiff.danfis.cz/files/${name}.tar.gz"; 8 - sha256 = "0i3ssvax4xync9c53jaxribazvh8d8v148l3yiqsfjmqsggw9rh3"; 8 + url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz"; 9 + sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a"; 9 10 }; 10 11 11 - buildInputs = [ qt4 perl ]; 12 + buildInputs = [ qt4 perl pkgconfig ]; 12 13 13 14 configurePhase = '' 14 15 mkdir -p $out/{bin,man/man1}