3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/apitrace/default.nix

29 lines
664 B
Nix
Raw Normal View History

2015-04-16 13:04:08 +01:00
{ stdenv, fetchFromGitHub, cmake, python, libX11, qt4 }:
2014-12-14 15:41:04 +00:00
2015-04-16 13:04:08 +01:00
let version = "6.1"; 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 = "1v38111ljd35v5sahshs3inhk6nsv7rxh4r0ck8k0njkwzlx2yqk";
rev = version;
repo = "apitrace";
owner = "apitrace";
2014-12-14 15:41:04 +00:00
};
buildInputs = [ cmake python libX11 qt4 ];
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
};
}