1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "callee";
9 version = "0.3.1";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "Xion";
14 repo = pname;
15 rev = "refs/tags/${version}";
16 hash = "sha256-dsXMY3bW/70CmTfCuy5KjxPa+NLCzxzWv5e1aV2NEWE=";
17 };
18
19 pythonImportsCheck = [
20 "callee"
21 ];
22
23 doCheck = false; # missing dependency
24
25 nativeCheckInputs = [
26 # taipan missing, unmaintained, not python3.10 compatible
27 pytestCheckHook
28 ];
29
30 meta = with lib; {
31 description = "Argument matchers for unittest.mock";
32 homepage = "https://github.com/Xion/callee";
33 license = licenses.bsd3;
34 maintainers = with maintainers; [ hexa ];
35 };
36}