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

29 lines
670 B
Nix
Raw Normal View History

2015-04-16 14:04:08 +02:00
{ stdenv, fetchFromGitHub, cmake, python, libX11, qt4 }:
2014-12-14 16:41:04 +01:00
2015-04-16 14:04:08 +02:00
let version = "6.1"; in
2014-12-14 16:41:04 +01:00
stdenv.mkDerivation {
2015-04-16 14:04:08 +02:00
name = "apitrace-${version}";
2014-12-14 16:41:04 +01:00
2015-04-16 14:04:08 +02:00
src = fetchFromGitHub {
sha256 = "1v38111ljd35v5sahshs3inhk6nsv7rxh4r0ck8k0njkwzlx2yqk";
rev = version;
repo = "apitrace";
owner = "apitrace";
2014-12-14 16:41:04 +01:00
};
buildInputs = [ cmake python libX11 qt4 ];
buildPhase = ''
cmake
make
'';
meta = with stdenv.lib; {
homepage = https://apitrace.github.io;
2015-04-16 14:04:08 +02:00
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
2015-04-21 18:05:19 +02:00
license = with licenses; mit;
2014-12-14 16:41:04 +01:00
platforms = platforms.linux;
2015-04-16 14:04:08 +02:00
maintainers = with maintainers; [ nckx ];
2014-12-14 16:41:04 +01:00
};
}