blob: 4314bc7377792a2c50c2ae5d66774f10218e2d3e (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
msgpack,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fluent-logger";
version = "0.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fluent";
repo = "fluent-logger-python";
rev = "refs/tags/v${version}";
hash = "sha256-PfyjJZT5K/IMsyyWNZdh/CZf+uZHeJGfhyAPuu0IhJk=";
};
build-system = [ hatchling ];
dependencies = [ msgpack ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"fluent"
"fluent.event"
"fluent.handler"
"fluent.sender"
];
meta = with lib; {
description = "Structured logger for Fluentd (Python)";
homepage = "https://github.com/fluent/fluent-logger-python";
license = licenses.asl20;
};
}
|