diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/glad2')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/glad2/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/glad2/default.nix b/nixpkgs/pkgs/development/python-modules/glad2/default.nix new file mode 100644 index 000000000000..57ee88c4997a --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/glad2/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, jinja2 +}: + +buildPythonPackage rec { + pname = "glad2"; + version = "2.0.4"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A="; + }; + + 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"; + homepage = "https://github.com/Dav1dde/glad"; + license = licenses.mit; + maintainers = with maintainers; [ kranzes ]; + }; +} |