1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "logging-tree"; 11 version = "1.10"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "brandon-rhodes"; 16 repo = "logging_tree"; 17 tag = version; 18 hash = "sha256-9MeCx708EUe5dmFkol+HISzdBX+yar1HjKIAwmg1msA="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ unittestCheckHook ]; 24 25 pythonImportsCheck = [ "logging_tree" ]; 26 27 meta = { 28 description = "Debug Python logging problems by printing out the tree of handlers you have defined"; 29 homepage = "https://github.com/brandon-rhodes/logging_tree"; 30 license = [ lib.licenses.bsd2 ]; 31 maintainers = [ lib.maintainers.rskew ]; 32 }; 33}