3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/apitrace/default.nix
Tobias Geerinckx-Rice 2742025f29 apitrace 7.0 -> 7.1
2015-11-26 08:00:02 +01:00

31 lines
732 B
Nix

{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qt5 }:
let version = "7.1"; in
stdenv.mkDerivation {
name = "apitrace-${version}";
src = fetchFromGitHub {
sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
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 ];
};
}