From 488cb9857084a415db0beaa1d95d72d5c91b4b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 18 Nov 2025 11:15:36 -0800 Subject: [PATCH] python3Packages.pytest-mockito: 0.0.4 -> 0.0.5 Diff: https://github.com/kaste/pytest-mockito/compare/0.0.4...0.0.5 --- .../python-modules/pytest-mockito/default.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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 ];