Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 loguru, 6 fetchPypi, 7}: 8 9buildPythonPackage rec { 10 pname = "loguru-logging-intercept"; 11 version = "0.1.4"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-ORPBqXtQdMqK0v6n+lBFbLUPR2SEpCpvj8w2KlBjAGQ="; 17 }; 18 19 build-system = [ setuptools ]; 20 dependencies = [ loguru ]; 21 22 pythonImportsCheck = [ "loguru_logging_intercept" ]; 23 24 meta = { 25 description = "Code to integrate Loguru with Python's standard logging module"; 26 homepage = "https://github.com/MatthewScholefield/loguru-logging-intercept"; 27 maintainers = with lib.maintainers; [ sigmanificient ]; 28 license = lib.licenses.mit; 29 }; 30}