Unverified Commit cb41d1ba authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

parents 4ee46f65 5dc59002
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
  ];