nav: init at 1.2.1 (#356071)
[NixPkgs.git] / pkgs / development / python-modules / ecs-logging / default.nix
blob9654844075f5132ec32c3fe58a6de917a43583d7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "ecs-logging";
11   version = "2.2.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-djCEutZqcyRfRme+omiwl3ofBUBli71TnfVu59i7vlE=";
21   };
23   nativeBuildInputs = [ flit-core ];
25   # Circular dependency elastic-apm
26   doCheck = false;
28   pythonImportsCheck = [ "ecs_logging" ];
30   meta = with lib; {
31     description = "Logging formatters for the Elastic Common Schema (ECS) in Python";
32     homepage = "https://github.com/elastic/ecs-logging-python";
33     license = with licenses; [ asl20 ];
34     maintainers = with maintainers; [ fab ];
35   };