2015-12-20 03:16:27 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
|
2014-12-14 16:41:04 +01:00
|
|
|
|
2015-11-25 16:03:59 +01:00
|
|
|
let version = "7.1"; in
|
2014-12-14 16:41:04 +01:00
|
|
|
stdenv.mkDerivation {
|
2015-04-16 14:04:08 +02:00
|
|
|
name = "apitrace-${version}";
|
2014-12-14 16:41:04 +01:00
|
|
|
|
2015-04-16 14:04:08 +02:00
|
|
|
src = fetchFromGitHub {
|
2015-11-25 16:03:59 +01:00
|
|
|
sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
|
2015-04-16 14:04:08 +02:00
|
|
|
rev = version;
|
|
|
|
repo = "apitrace";
|
|
|
|
owner = "apitrace";
|
2014-12-14 16:41:04 +01:00
|
|
|
};
|
|
|
|
|
2015-12-20 03:16:27 +01:00
|
|
|
buildInputs = [ libX11 procps python qtbase ];
|
2015-06-17 19:36:06 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-12-14 16:41:04 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
cmake
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-07-23 00:05:56 +02:00
|
|
|
inherit version;
|
2014-12-14 16:41:04 +01:00
|
|
|
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;
|
2015-04-16 14:04:08 +02:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2014-12-14 16:41:04 +01:00
|
|
|
};
|
|
|
|
}
|