diff --git a/pkgs/development/python-modules/mizani/default.nix b/pkgs/development/python-modules/mizani/default.nix index 1bee4a9f29fb..5b450374ddb2 100644 --- a/pkgs/development/python-modules/mizani/default.nix +++ b/pkgs/development/python-modules/mizani/default.nix @@ -13,19 +13,20 @@ scipy, # tests + pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "mizani"; - version = "0.13.1"; + version = "0.13.2"; pyproject = true; src = fetchFromGitHub { owner = "has2k1"; repo = "mizani"; tag = "v${version}"; - hash = "sha256-3eEOkrF3Sn5ZETnxgc5spwHlbJAiDhkJkd5LwMl0QEY="; + hash = "sha256-ccw6GvwB23D0nHjbyAthm4pX7u2MpJM1N3EL2eRnZHI="; }; build-system = [ setuptools-scm ]; @@ -37,12 +38,10 @@ buildPythonPackage rec { scipy ]; - nativeCheckInputs = [ pytestCheckHook ]; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=mizani --cov-report=xml" "" - ''; + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; pythonImportsCheck = [ "mizani" ];