1{ lib 2, buildPythonPackage 3, docutils 4, fetchFromGitHub 5, isPy27 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 version = "1.0.10"; 11 pname = "python_toolbox"; 12 disabled = isPy27; 13 14 src = fetchFromGitHub { 15 owner = "cool-RR"; 16 repo = pname; 17 rev = version; 18 sha256 = "1hpls1hwisdjx1g15cq052bdn9fvh43r120llws8bvgvj9ivnaha"; 19 }; 20 21 nativeCheckInputs = [ 22 docutils 23 pytestCheckHook 24 ]; 25 26 disabledTestPaths = [ 27 # file imports 'dummy_threading', which was deprecated since py37 28 # and removed in py39 29 "test_python_toolbox/test_cute_profile/test_cute_profile.py" 30 ]; 31 32 meta = with lib; { 33 description = "Tools for testing PySnooper"; 34 homepage = "https://github.com/cool-RR/python_toolbox"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ seqizz ]; 37 }; 38}