2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
docutils,
|
|
|
|
fetchFromGitHub,
|
|
|
|
isPy27,
|
|
|
|
pytestCheckHook,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "1.0.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "python_toolbox";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cool-RR";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "1hpls1hwisdjx1g15cq052bdn9fvh43r120llws8bvgvj9ivnaha";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
docutils
|
2021-05-20 23:08:51 +00:00
|
|
|
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"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for testing PySnooper";
|
|
|
|
homepage = "https://github.com/cool-RR/python_toolbox";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ seqizz ];
|
|
|
|
};
|
|
|
|
}
|