12 buildPythonPackage rec {
13 pname = "pysigma-backend-elasticsearch";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
21 repo = "pySigma-backend-elasticsearch";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-qIP+TP6lzviEAunYge/SIZQ6PI0EFnJo64FVpPmkdLY=";
27 substituteInPlace pyproject.toml \
28 --replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
31 build-system = [ poetry-core ];
33 dependencies = [ pysigma ];
40 pythonImportsCheck = [ "sigma.backends.elasticsearch" ];
43 # Tests requires network access
46 "correlation_rule_stats"
50 description = "Library to support Elasticsearch for pySigma";
51 homepage = "https://github.com/SigmaHQ/pySigma-backend-elasticsearch";
52 changelog = "https://github.com/SigmaHQ/pySigma-backend-elasticsearch/releases/tag/v${version}";
53 license = with licenses; [ lgpl21Only ];
54 maintainers = with maintainers; [ fab ];