lol

python310Packages.glad2: specify dependencies as function args

Also disable the check phase, given there are no python tests and update
meta.homepage.

+8 -4
+8 -4
pkgs/development/python-modules/glad2/default.nix
··· 1 1 { lib 2 - , python3 2 + , buildPythonPackage 3 3 , fetchPypi 4 + , jinja2 4 5 }: 5 6 6 - python3.pkgs.buildPythonPackage rec { 7 + buildPythonPackage rec { 7 8 pname = "glad2"; 8 9 version = "2.0.4"; 9 10 format = "setuptools"; ··· 13 14 hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A="; 14 15 }; 15 16 16 - propagatedBuildInputs = with python3.pkgs; [ 17 + propagatedBuildInputs = [ 17 18 jinja2 18 19 ]; 19 20 21 + # no python tests 22 + doCheck = false; 23 + 20 24 pythonImportsCheck = [ "glad" ]; 21 25 22 26 meta = with lib; { 23 27 description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications"; 24 - homepage = "https://pypi.org/project/glad2"; 28 + homepage = "https://github.com/Dav1dde/glad"; 25 29 license = licenses.mit; 26 30 maintainers = with maintainers; [ kranzes ]; 27 31 };