python310Packages.glad2: specify dependencies as function args

Also disable the check phase, given there are no python tests and update
meta.homepage.
This commit is contained in:
Martin Weinelt
2023-07-28 16:12:37 +02:00
parent e66ea733b0
commit 92d6b02a33
@@ -1,9 +1,10 @@
{ lib
, python3
, buildPythonPackage
, fetchPypi
, jinja2
}:
python3.pkgs.buildPythonPackage rec {
buildPythonPackage rec {
pname = "glad2";
version = "2.0.4";
format = "setuptools";
@@ -13,15 +14,18 @@ python3.pkgs.buildPythonPackage rec {
hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A=";
};
propagatedBuildInputs = with python3.pkgs; [
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://pypi.org/project/glad2";
homepage = "https://github.com/Dav1dde/glad";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};