nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6}:
7
8buildPythonPackage rec {
9 pname = "logging-journald";
10 version = "0.6.7";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "mosquito";
15 repo = "logging-journald";
16 tag = version;
17 hash = "sha256-RQ9opkAOZfhYuqOXJ2Mtnig8soL+lCveYH2YdXL1AGM=";
18 };
19
20 nativeBuildInputs = [ poetry-core ];
21
22 # Circular dependency with aiomisc
23 doCheck = false;
24
25 pythonImportsCheck = [ "logging_journald" ];
26
27 meta = {
28 description = "Logging handler for writing logs to the journald";
29 homepage = "https://github.com/mosquito/logging-journald";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ fab ];
32 };
33}