depot/third_party/nixpkgs/pkgs/development/python-modules/loguru-logging-intercept/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
690 B
Nix

{
lib,
buildPythonPackage,
setuptools,
loguru,
fetchPypi,
}:
buildPythonPackage rec {
pname = "loguru-logging-intercept";
version = "0.1.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ORPBqXtQdMqK0v6n+lBFbLUPR2SEpCpvj8w2KlBjAGQ=";
};
build-system = [ setuptools ];
dependencies = [ loguru ];
pythonImportsCheck = [ "loguru_logging_intercept" ];
meta = {
description = "Code to integrate Loguru with Python's standard logging module";
homepage = "https://github.com/MatthewScholefield/loguru-logging-intercept";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.mit;
};
}