2016-02-28 15:46:39 +03:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, libdwarf, qtbase, qtwebkit }:
|
2014-12-14 18:41:04 +03:00
|
|
|
|
2016-01-24 22:31:44 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-16 15:04:08 +03:00
|
|
|
name = "apitrace-${version}";
|
2016-01-24 22:31:44 +03:00
|
|
|
version = "7.1";
|
2014-12-14 18:41:04 +03:00
|
|
|
|
2015-04-16 15:04:08 +03:00
|
|
|
src = fetchFromGitHub {
|
2015-11-25 18:03:59 +03:00
|
|
|
sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
|
2015-04-16 15:04:08 +03:00
|
|
|
rev = version;
|
|
|
|
repo = "apitrace";
|
|
|
|
owner = "apitrace";
|
2014-12-14 18:41:04 +03:00
|
|
|
};
|
|
|
|
|
2016-02-28 15:46:39 +03: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.
|
|
|
|
buildInputs = [ libX11 procps python libdwarf qtbase qtwebkit ];
|
2014-12-14 18:41:04 +03:00
|
|
|
|
2016-02-28 15:46:39 +03:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-12-14 18:41:04 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://apitrace.github.io;
|
2015-04-16 15:04:08 +03:00
|
|
|
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
|
2015-05-28 20:20:29 +03:00
|
|
|
license = licenses.mit;
|
2014-12-14 18:41:04 +03:00
|
|
|
platforms = platforms.linux;
|
2015-04-16 15:04:08 +03:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2014-12-14 18:41:04 +03:00
|
|
|
};
|
|
|
|
}
|