2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
2023-08-10 07:59:29 +00:00
|
|
|
, buildPythonPackage
|
2023-04-12 12:48:02 +00:00
|
|
|
, fetchPypi
|
2023-08-10 07:59:29 +00:00
|
|
|
, jinja2
|
2023-04-12 12:48:02 +00:00
|
|
|
}:
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
buildPythonPackage rec {
|
2023-04-12 12:48:02 +00:00
|
|
|
pname = "glad2";
|
|
|
|
version = "2.0.4";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A=";
|
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-04-12 12:48:02 +00:00
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
# no python tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
pythonImportsCheck = [ "glad" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications";
|
2023-08-10 07:59:29 +00:00
|
|
|
homepage = "https://github.com/Dav1dde/glad";
|
2023-04-12 12:48:02 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kranzes ];
|
|
|
|
};
|
|
|
|
}
|