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

31 lines
732 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qt5 }:
2014-12-14 15:41:04 +00:00
let version = "7.0"; in
2014-12-14 15:41:04 +00:00
stdenv.mkDerivation {
2015-04-16 13:04:08 +01:00
name = "apitrace-${version}";
2014-12-14 15:41:04 +00:00
2015-04-16 13:04:08 +01:00
src = fetchFromGitHub {
sha256 = "0nn3z7i6cd4zkmms6jpp1v2q194gclbs06v0f5hyiwcsqaxzsg5b";
2015-04-16 13:04:08 +01:00
rev = version;
repo = "apitrace";
owner = "apitrace";
2014-12-14 15:41:04 +00:00
};
buildInputs = [ libX11 procps python qt5.base ];
nativeBuildInputs = [ cmake ];
2014-12-14 15:41:04 +00:00
buildPhase = ''
cmake
make
'';
meta = with stdenv.lib; {
inherit version;
2014-12-14 15:41:04 +00:00
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
};
}