1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytest,
6 mockito,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-mockito";
12 version = "0.0.4";
13
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "kaste";
18 repo = "pytest-mockito";
19 rev = version;
20 hash = "sha256-vY/i1YV1lo4mZvnxsXBOyaq31YTiF0BY6PTVwdVX10I=";
21 };
22
23 buildInputs = [ pytest ];
24
25 propagatedBuildInputs = [ mockito ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 meta = {
30 description = "Base fixtures for mockito";
31 homepage = "https://github.com/kaste/pytest-mockito";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ dotlambda ];
34 };
35}