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