Merge pull request #138950 from fabaff/syslog-rfc5424-formatter

python3Packages.syslog-rfc5424-formatter: init at 1.2.2
This commit is contained in:
Fabian Affolter 2022-01-11 18:40:44 +01:00 committed by GitHub
commit c61f9c4edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "syslog-rfc5424-formatter";
version = "1.2.2";
src = fetchFromGitHub {
owner = "easypost";
repo = pname;
rev = "v${version}";
sha256 = "17ym5ls5r6dd9pg9frdz8myfq5fxyqlwdq1gygc9vnrxbgw2c9kb";
};
# Tests are not picked up, review later again
doCheck = false;
pythonImportsCheck = [ "syslog_rfc5424_formatter" ];
meta = with lib; {
description = "Python logging formatter for emitting RFC5424 Syslog messages";
homepage = "https://github.com/easypost/syslog-rfc5424-formatter";
license = with licenses; [ isc ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -9469,6 +9469,8 @@ in {
synologydsm-api = callPackage ../development/python-modules/synologydsm-api { };
syslog-rfc5424-formatter = callPackage ../development/python-modules/syslog-rfc5424-formatter { };
systembridge = callPackage ../development/python-modules/systembridge { };
systemd = callPackage ../development/python-modules/systemd {