1 { lib, stdenv, fetchurl, qt4, qmake4Hook }:
3 stdenv.mkDerivation rec {
8 url = "https://valgrind.org/downloads/${pname}-${version}.tar.bz2";
9 sha256 = "0hwvsncf62mdkahwj9c8hpmm94c1wr5jn89370k6rj894kxry2x7";
13 sed -i '1s;^;#include <unistd.h>\n;' src/objects/tool_object.cpp
14 sed -i '1s;^;#include <unistd.h>\n;' src/utils/vk_config.cpp
15 sed -i '1s;^;#include <sys/types.h>\n;' src/utils/vk_config.cpp
16 sed -i '1s;^;#include <unistd.h>\n;' src/utils/vk_utils.cpp
17 sed -i '1s;^;#include <sys/types.h>\n;' src/utils/vk_utils.cpp
20 buildInputs = [ qt4 ];
22 nativeBuildInputs = [ qmake4Hook ];
25 homepage = "http://www.valgrind.org/";
26 description = "Qt4-based GUI for the Valgrind 3.6.x series";
27 license = licenses.gpl2;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ pSub ];