1{ 2 lib, 3 buildPythonPackage, 4 docutils, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "python-toolbox"; 13 version = "1.0.11"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchFromGitHub { 19 owner = "cool-RR"; 20 repo = "python_toolbox"; 21 tag = version; 22 hash = "sha256-Y9RmVndgsBESrUCEORUwAdaFYBiunY3kWArhB9d7bw4="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 nativeCheckInputs = [ 28 docutils 29 pytestCheckHook 30 ]; 31 32 disabledTestPaths = [ 33 # file imports 'dummy_threading', which was deprecated since py37 34 # and removed in py39 35 "test_python_toolbox/test_cute_profile/test_cute_profile.py" 36 ]; 37 38 disabledTests = [ 39 # AssertionError 40 "test_repr" 41 ]; 42 43 meta = with lib; { 44 description = "Tools for testing PySnooper"; 45 homepage = "https://github.com/cool-RR/python_toolbox"; 46 changelog = "https://github.com/cool-RR/python_toolbox/releases/tag/${version}"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ seqizz ]; 49 }; 50}