2016-11-09 11:09:51 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python2, libdwarf, qtbase, qtwebkit }:
|
2014-12-14 16:41:04 +01:00
|
|
|
|
2016-01-24 20:31:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-16 14:04:08 +02:00
|
|
|
name = "apitrace-${version}";
|
2017-04-30 10:27:17 +02:00
|
|
|
version = "7.1-363-ge3509be1";
|
2014-12-14 16:41:04 +01:00
|
|
|
|
2015-04-16 14:04:08 +02:00
|
|
|
src = fetchFromGitHub {
|
2017-04-30 10:27:17 +02:00
|
|
|
sha256 = "1xbz6gwl7kqjm7jjy5gxkdxzrg93vj1a3l19ara7rni6dii0q136";
|
|
|
|
rev = "e3509be175eda77749abffe051ed0d3eb5d14e72";
|
2015-04-16 14:04:08 +02:00
|
|
|
repo = "apitrace";
|
|
|
|
owner = "apitrace";
|
2014-12-14 16:41:04 +01:00
|
|
|
};
|
|
|
|
|
2016-02-28 13:46:39 +01: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 11:09:51 +01:00
|
|
|
buildInputs = [ libX11 procps python2 libdwarf qtbase qtwebkit ];
|
2014-12-14 16:41:04 +01:00
|
|
|
|
2016-02-28 13:46:39 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-12-14 16:41:04 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://apitrace.github.io;
|
2015-04-16 14:04:08 +02:00
|
|
|
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.mit;
|
2014-12-14 16:41:04 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|