mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
158e1cfdd0
And don't use square brackets on such lines.
29 lines
664 B
Nix
29 lines
664 B
Nix
{ stdenv, fetchFromGitHub, cmake, python, libX11, qt4 }:
|
|
|
|
let version = "6.1"; in
|
|
stdenv.mkDerivation {
|
|
name = "apitrace-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1v38111ljd35v5sahshs3inhk6nsv7rxh4r0ck8k0njkwzlx2yqk";
|
|
rev = version;
|
|
repo = "apitrace";
|
|
owner = "apitrace";
|
|
};
|
|
|
|
buildInputs = [ cmake python libX11 qt4 ];
|
|
|
|
buildPhase = ''
|
|
cmake
|
|
make
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
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 ];
|
|
};
|
|
}
|