depot/third_party/nixpkgs/pkgs/development/python-modules/syslog-rfc5424-formatter/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

28 lines
691 B
Nix

{ 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 ];
};
}