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