depot/third_party/nixpkgs/pkgs/development/python-modules/glad2/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}