fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
674 B
Nix
32 lines
674 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
jinja2,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "glad2";
|
|
version = "2.0.6";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CGFa7TIZ6hx3WEvVlh2CO6sib4rDgx0JrfZcb6h3+Ow=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jinja2 ];
|
|
|
|
# no python tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "glad" ];
|
|
|
|
meta = with lib; {
|
|
description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications";
|
|
mainProgram = "glad";
|
|
homepage = "https://github.com/Dav1dde/glad";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kranzes ];
|
|
};
|
|
}
|