python312Packages.moderngl: switch to pypa build

This commit is contained in:
natsukium 2024-08-18 09:11:13 +09:00
parent ed57c01589
commit e921b41e2a
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -4,6 +4,7 @@
fetchPypi,
libGL,
libX11,
setuptools,
glcontext,
pythonOlder,
}:
@ -11,7 +12,7 @@
buildPythonPackage rec {
pname = "moderngl";
version = "5.11.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,12 +21,14 @@ buildPythonPackage rec {
hash = "sha256-rEVNXqhDHy9/DJXijaIEPb0wNTjChH/uBXA55AfdGRE=";
};
build-system = [ setuptools ];
buildInputs = [
libGL
libX11
];
propagatedBuildInputs = [ glcontext ];
dependencies = [ glcontext ];
# Tests need a display to run.
doCheck = false;