about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-mockito/default.nix
blob: 279b04b83e0e647dfee7319a0d503367aa2abccc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, mockito
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pytest-mockito";
  version = "0.0.4";

  format = "setuptools";

  src = fetchFromGitHub {
    owner = "kaste";
    repo = "pytest-mockito";
    rev = version;
    hash = "sha256-vY/i1YV1lo4mZvnxsXBOyaq31YTiF0BY6PTVwdVX10I=";
  };

  buildInputs = [
    pytest
  ];

  propagatedBuildInputs = [
    mockito
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    description = "Base fixtures for mockito";
    homepage = "https://github.com/kaste/pytest-mockito";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}