1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 loguru, 6 fetchPypi, 7}: 8 9buildPythonPackage rec { 10 pname = "loguru-logging-intercept"; 11 version = "0.1.5"; 12 pyproject = true; 13 14 # no tags on git 15 src = fetchPypi { 16 pname = "loguru_logging_intercept"; 17 inherit version; 18 hash = "sha256-WBA4vxMQ+7Bs2kivvTc+crvAHVHE3wWPSQgat6fF+YQ="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ loguru ]; 24 25 pythonImportsCheck = [ "loguru_logging_intercept" ]; 26 27 meta = { 28 description = "Code to integrate Loguru with Python's standard logging module"; 29 homepage = "https://github.com/MatthewScholefield/loguru-logging-intercept"; 30 maintainers = with lib.maintainers; [ sigmanificient ]; 31 license = lib.licenses.mit; 32 }; 33}