apitrace: add qapitrace and backtracing support

Changed files
+5 -7
pkgs
applications
graphics
apitrace
+5 -7
pkgs/applications/graphics/apitrace/default.nix
···
-
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
+
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, libdwarf, qtbase, qtwebkit }:
stdenv.mkDerivation rec {
name = "apitrace-${version}";
···
owner = "apitrace";
};
-
buildInputs = [ libX11 procps python qtbase ];
-
nativeBuildInputs = [ cmake ];
+
# LD_PRELOAD wrappers need to be statically linked to work against all kinds
+
# of games -- so it's fine to use e.g. bundled snappy.
+
buildInputs = [ libX11 procps python libdwarf qtbase qtwebkit ];
-
buildPhase = ''
-
cmake
-
make
-
'';
+
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = https://apitrace.github.io;