3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/apitrace/default.nix
Tobias Geerinckx-Rice ec15244f1a apitrace: 6.1 -> 7.0
- Many bug fixes
- Switch to Qt 5
2015-07-23 03:12:24 +02:00

31 lines
732 B
Nix

{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qt5 }:
let version = "7.0"; in
stdenv.mkDerivation {
name = "apitrace-${version}";
src = fetchFromGitHub {
sha256 = "0nn3z7i6cd4zkmms6jpp1v2q194gclbs06v0f5hyiwcsqaxzsg5b";
rev = version;
repo = "apitrace";
owner = "apitrace";
};
buildInputs = [ libX11 procps python qt5.base ];
nativeBuildInputs = [ cmake ];
buildPhase = ''
cmake
make
'';
meta = with stdenv.lib; {
inherit version;
homepage = https://apitrace.github.io;
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}