1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 portalocker, 7}: 8 9buildPythonPackage rec { 10 pname = "concurrent-log-handler"; 11 version = "0.9.28"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "concurrent_log_handler"; 16 inherit version; 17 hash = "sha256-TMJ5abNCAjm9FTd5Jm9A2XE+zoFOMSt6p1POYsbqzbg="; 18 }; 19 20 build-system = [ hatchling ]; 21 22 dependencies = [ portalocker ]; 23 24 pythonImportsCheck = [ "concurrent_log_handler" ]; 25 26 doCheck = false; # upstream has no tests 27 28 meta = with lib; { 29 description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently"; 30 homepage = "https://github.com/Preston-Landers/concurrent-log-handler"; 31 license = licenses.asl20; 32 maintainers = [ maintainers.bbjubjub ]; 33 }; 34}