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