Files
2026-05-11 04:57:10 +00:00

34 lines
716 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage rec {
pname = "logging-journald";
version = "0.6.11";
pyproject = true;
src = fetchFromGitHub {
owner = "mosquito";
repo = "logging-journald";
tag = version;
hash = "sha256-L68Trq4dii25sYr3Fm2aU8w9nzpkU2F6t3OeNnny0mE=";
};
nativeBuildInputs = [ poetry-core ];
# Circular dependency with aiomisc
doCheck = false;
pythonImportsCheck = [ "logging_journald" ];
meta = {
description = "Logging handler for writing logs to the journald";
homepage = "https://github.com/mosquito/logging-journald";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}