blob: e20a34f8cd430d18d95e4d92970fd196751f772a (
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
|
{
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 ];
};
}
|