nixpkgs/pkgs/applications/graphics/apitrace/default.nix

30 lines
711 B
Nix
Raw Normal View History

2015-12-20 02:16:27 +00:00
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
2014-12-14 15:41:04 +00:00
stdenv.mkDerivation rec {
2015-04-16 13:04:08 +01:00
name = "apitrace-${version}";
version = "7.1";
2014-12-14 15:41:04 +00:00
2015-04-16 13:04:08 +01:00
src = fetchFromGitHub {
2015-11-25 15:03:59 +00:00
sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
2015-04-16 13:04:08 +01:00
rev = version;
repo = "apitrace";
owner = "apitrace";
2014-12-14 15:41:04 +00:00
};
2015-12-20 02:16:27 +00:00
buildInputs = [ libX11 procps python qtbase ];
nativeBuildInputs = [ cmake ];
2014-12-14 15:41:04 +00:00
buildPhase = ''
cmake
make
'';
meta = with stdenv.lib; {
homepage = https://apitrace.github.io;
2015-04-16 13:04:08 +01:00
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
license = licenses.mit;
2014-12-14 15:41:04 +00:00
platforms = platforms.linux;
2015-04-16 13:04:08 +01:00
maintainers = with maintainers; [ nckx ];
2014-12-14 15:41:04 +00:00
};
}