{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pysigma, pytest-cov-stub, pytestCheckHook, requests, writableTmpDirAsHomeHook, }: buildPythonPackage (finalAttrs: { pname = "pysigma-backend-elasticsearch"; version = "2.0.2"; pyproject = true; src = fetchFromGitHub { owner = "SigmaHQ"; repo = "pySigma-backend-elasticsearch"; tag = "v${finalAttrs.version}"; hash = "sha256-QRG+fsy4AGKPv5WoquFVYXsb39XABwgDJD4EgLiRVdg="; }; build-system = [ poetry-core ]; dependencies = [ pysigma ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook requests writableTmpDirAsHomeHook ]; # Starting with 2.0.0 all tests require network access doCheck = false; #pythonImportsCheck = [ "sigma.backends.elasticsearch" ]; meta = { description = "Library to support Elasticsearch for pySigma"; homepage = "https://github.com/SigmaHQ/pySigma-backend-elasticsearch"; changelog = "https://github.com/SigmaHQ/pySigma-backend-elasticsearch/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.lgpl21Only; maintainers = with lib.maintainers; [ fab ]; }; })