mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
34 lines
716 B
Nix
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 ];
|
|
};
|
|
}
|