depot/third_party/nixpkgs/pkgs/development/python-modules/logging-journald/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

32 lines
656 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "logging-journald";
version = "0.6.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-U6kqAvMSyLDbThc6wAN/ri0vmt/vAxgFFZT65Csbpss=";
};
# Circular dependency with aiomisc
doCheck = false;
pythonImportsCheck = [
"logging_journald"
];
meta = with lib; {
description = "Logging handler for writing logs to the journald";
homepage = "https://github.com/mosquito/logging-journald";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}