Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / logging-journald / default.nix
blob92cb8475c9d69e6d7c5e635493c9778d93beddf9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "logging-journald";
10   version = "0.6.5";
11   format = "pyproject";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "mosquito";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-EyKXc/Qr9mRFngDqbCPNVs/0eD9OCbQq0FbymA6kpLQ=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   # Circular dependency with aiomisc
27   doCheck = false;
29   pythonImportsCheck = [
30     "logging_journald"
31   ];
33   meta = with lib; {
34     description = "Logging handler for writing logs to the journald";
35     homepage = "https://github.com/mosquito/logging-journald";
36     license = licenses.mit;
37     maintainers = with maintainers; [ fab ];
38   };