python312Packages.mobi: exclude standard-imghdr to fix build (#509388)

This commit is contained in:
Martin Weinelt
2026-04-12 22:17:09 +00:00
committed by GitHub
@@ -6,6 +6,7 @@
hatchling,
standard-imghdr,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
@@ -29,6 +30,8 @@ buildPythonPackage rec {
standard-imghdr
];
pythonRemoveDeps = lib.optionals (pythonOlder "3.13") [ "standard-imghdr" ];
nativeCheckInputs = [
pytestCheckHook
];