nixpkgs/pkgs/development/python-modules/glad2/default.nix
2023-04-05 18:29:21 +03:00

29 lines
619 B
Nix

{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonPackage rec {
pname = "glad2";
version = "2.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A=";
};
propagatedBuildInputs = with python3.pkgs; [
jinja2
];
pythonImportsCheck = [ "glad" ];
meta = with lib; {
description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications";
homepage = "https://pypi.org/project/glad2";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}