Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fluent-logger / default.nix
blob8d9610d2d4483fa3a13b8f0d17bf0ea5a75f5203
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , hatchling
8 # dependencies
9 , msgpack
11 # tests
12 , pytestCheckHook,
15 buildPythonPackage rec {
16   pname = "fluent-logger";
17   version = "0.11.0";
18   pyproject = true;
20   src = fetchFromGitHub {
21     owner = "fluent";
22     repo = "fluent-logger-python";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-PfyjJZT5K/IMsyyWNZdh/CZf+uZHeJGfhyAPuu0IhJk=";
25   };
27   build-system  = [
28     hatchling
29   ];
31   dependencies = [
32     msgpack
33   ];
35   nativeCheckInputs = [
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [
40     "fluent"
41     "fluent.event"
42     "fluent.handler"
43     "fluent.sender"
44   ];
46   meta = with lib; {
47     description = "A structured logger for Fluentd (Python)";
48     homepage = "https://github.com/fluent/fluent-logger-python";
49     license = licenses.asl20;
50   };