diff --git a/pkgs/development/python-modules/pytest-mockito/default.nix b/pkgs/development/python-modules/pytest-mockito/default.nix index 06b9a9355367..78137669be4b 100644 --- a/pkgs/development/python-modules/pytest-mockito/default.nix +++ b/pkgs/development/python-modules/pytest-mockito/default.nix @@ -2,6 +2,8 @@ lib, buildPythonPackage, fetchFromGitHub, + hatch-vcs, + hatchling, pytest, mockito, pytestCheckHook, @@ -9,20 +11,26 @@ buildPythonPackage rec { pname = "pytest-mockito"; - version = "0.0.4"; - - format = "setuptools"; + version = "0.0.5"; + pyproject = true; src = fetchFromGitHub { owner = "kaste"; repo = "pytest-mockito"; rev = version; - hash = "sha256-vY/i1YV1lo4mZvnxsXBOyaq31YTiF0BY6PTVwdVX10I="; + hash = "sha256-GX3esFlMtKRCTjvTPS4jrnK/mV9eIENvDXRo5sOqBGc="; }; + build-system = [ + hatch-vcs + hatchling + ]; + buildInputs = [ pytest ]; - propagatedBuildInputs = [ mockito ]; + dependencies = [ mockito ]; + + pythonImportsCheck = [ "pytest_mockito" ]; nativeCheckInputs = [ pytestCheckHook ];