2016-11-09 02:09:51 -08:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python2, libdwarf, qtbase, qtwebkit }:
|
2014-12-14 07:41:04 -08:00
|
|
|
|
2016-01-24 11:31:44 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "apitrace";
|
2019-03-26 20:20:25 -07:00
|
|
|
version = "7.1-572-g${builtins.substring 0 8 src.rev}";
|
2014-12-14 07:41:04 -08:00
|
|
|
|
2015-04-16 05:04:08 -07:00
|
|
|
src = fetchFromGitHub {
|
2019-03-26 20:20:25 -07:00
|
|
|
sha256 = "11bwb0l8cr1bf9bj1s6cbmi77d5fy4qrphj9cgmcd8jpa862anp5";
|
|
|
|
rev = "26966134f15d28f6b4a9a0a560017b3ba36d60bf";
|
2015-04-16 05:04:08 -07:00
|
|
|
repo = "apitrace";
|
|
|
|
owner = "apitrace";
|
2014-12-14 07:41:04 -08:00
|
|
|
};
|
|
|
|
|
2016-02-28 04:46:39 -08:00
|
|
|
# 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.
|
2016-11-09 02:09:51 -08:00
|
|
|
buildInputs = [ libX11 procps python2 libdwarf qtbase qtwebkit ];
|
2014-12-14 07:41:04 -08:00
|
|
|
|
2016-02-28 04:46:39 -08:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-12-14 07:41:04 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://apitrace.github.io";
|
2015-04-16 05:04:08 -07:00
|
|
|
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.mit;
|
2014-12-14 07:41:04 -08:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|