about summary refs log tree commit diff
path: root/pkgs/development/python-modules/syslog-rfc5424-formatter/default.nix
blob: 040db8d1e0786b3a05fa86d204767d9fc714fff3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
  };
}