9fb8020e4e
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
30 lines
711 B
Nix
30 lines
711 B
Nix
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "apitrace-${version}";
|
|
version = "7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
|
|
rev = version;
|
|
repo = "apitrace";
|
|
owner = "apitrace";
|
|
};
|
|
|
|
buildInputs = [ libX11 procps python qtbase ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
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 ];
|
|
};
|
|
}
|