summary refs log tree commit diff
path: root/pkgs/development/python-modules/callee/default.nix
blob: d7fb37706a594f72562bada290959cf2ce47029d (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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "callee";
  version = "0.3.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Xion";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-dsXMY3bW/70CmTfCuy5KjxPa+NLCzxzWv5e1aV2NEWE=";
  };

  pythonImportsCheck = [
    "callee"
  ];

  doCheck = false; # missing dependency

  nativeCheckInputs = [
    # taipan missing, unmaintained, not python3.10 compatible
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Argument matchers for unittest.mock";
    homepage = "https://github.com/Xion/callee";
    license = licenses.bsd3;
    maintainers = with maintainers; [ hexa ];
  };
}