2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, qt4, qmake4Hook }:
|
2010-11-22 19:10:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "valkyrie-2.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://valgrind.org/downloads/${name}.tar.bz2";
|
|
|
|
sha256 = "0hwvsncf62mdkahwj9c8hpmm94c1wr5jn89370k6rj894kxry2x7";
|
|
|
|
};
|
|
|
|
|
2018-07-17 20:46:01 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i '1s;^;#include <unistd.h>\n;' src/objects/tool_object.cpp
|
|
|
|
sed -i '1s;^;#include <unistd.h>\n;' src/utils/vk_config.cpp
|
|
|
|
sed -i '1s;^;#include <sys/types.h>\n;' src/utils/vk_config.cpp
|
|
|
|
sed -i '1s;^;#include <unistd.h>\n;' src/utils/vk_utils.cpp
|
|
|
|
sed -i '1s;^;#include <sys/types.h>\n;' src/utils/vk_utils.cpp
|
|
|
|
'';
|
|
|
|
|
2010-11-22 19:10:15 +00:00
|
|
|
buildInputs = [ qt4 ];
|
2018-07-17 20:46:01 +01:00
|
|
|
|
2016-04-17 00:50:54 +01:00
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
2010-11-22 19:10:15 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.valgrind.org/";
|
2010-11-22 19:10:15 +00:00
|
|
|
description = "Qt4-based GUI for the Valgrind 3.6.x series";
|
2018-07-17 20:47:29 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2010-11-22 19:10:15 +00:00
|
|
|
};
|
|
|
|
}
|