blob: f4a6e1ba8edf1177ad4efabfbb2b5716676a3f26 (
plain)
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
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
docutils,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "python-toolbox";
version = "1.0.11";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "cool-RR";
repo = "python_toolbox";
tag = version;
hash = "sha256-Y9RmVndgsBESrUCEORUwAdaFYBiunY3kWArhB9d7bw4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
docutils
pytestCheckHook
];
disabledTestPaths = [
# file imports 'dummy_threading', which was deprecated since py37
# and removed in py39
"test_python_toolbox/test_cute_profile/test_cute_profile.py"
];
disabledTests = [
# AssertionError
"test_repr"
];
meta = with lib; {
description = "Tools for testing PySnooper";
homepage = "https://github.com/cool-RR/python_toolbox";
changelog = "https://github.com/cool-RR/python_toolbox/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ seqizz ];
};
}
|