Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ecs-logging / default.nix
blobcd55d1c4c2b9c7393daa61b063fe25344174c647
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "ecs-logging";
11   version = "2.1.0";
12   format = "pyproject";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "elastic";
18     repo = "ecs-logging-python";
19     rev = "refs/tags/${version}";
20     hash = "sha256-Gf44bT3/gmHy+yaQ1+bhCFB33ym2G14tzNqTQyC3BJU=";
21   };
23   nativeBuildInputs = [
24     flit-core
25   ];
27   # Circular dependency elastic-apm
28   doCheck = false;
30   pythonImportsCheck = [
31     "ecs_logging"
32   ];
34   meta = with lib; {
35     description = "Logging formatters for the Elastic Common Schema (ECS) in Python";
36     homepage = "https://github.com/elastic/ecs-logging-python";
37     license = with licenses; [ asl20 ];
38     maintainers = with maintainers; [ fab ];
39   };