Merge pull request #198039 from r-ryantm/auto-update/python3.10-moderngl
python310Packages.moderngl: 5.6.4 -> 5.7.0
This commit is contained in:
commit
0a4b282367
@ -1,34 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, libGL
|
||||
, libX11
|
||||
, glcontext
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moderngl";
|
||||
version = "5.6.4";
|
||||
version = "5.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8c6d04559f5e3bf75a18525cd46d213c0f3a8409363718978e6de691bdb551fb";
|
||||
hash = "sha256-NDTZ4comjJY/dEvrTdxHR88fQ1lZU2zSWZ43f7YqvT8=";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
buildInputs = [
|
||||
libGL
|
||||
libX11
|
||||
];
|
||||
|
||||
buildInputs = [ libGL libX11 ];
|
||||
propagatedBuildInputs = [ glcontext ];
|
||||
propagatedBuildInputs = [
|
||||
glcontext
|
||||
];
|
||||
|
||||
# Tests need a display to run.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"moderngl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High performance rendering for Python";
|
||||
homepage = "https://github.com/moderngl/moderngl";
|
||||
description = "High performance rendering for Python 3";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux; # should be mesaPlatforms, darwin build breaks.
|
||||
maintainers = with maintainers; [ c0deaddict ];
|
||||
# should be mesaPlatforms, darwin build breaks.
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user