Commit 38566234 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.pysigma-backend-opensearch: refactor

parent 95067670
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  poetry-core,
  pysigma,
  pysigma-backend-elasticsearch,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  requests,
@@ -24,11 +25,6 @@ buildPythonPackage rec {
    hash = "sha256-VKDyXTvh0T/MKqsZo9lAlHyfhtiXzP5P+d0DSiLqS1o=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
  '';

  pythonRelaxDeps = [ "pysigma" ];

  build-system = [ poetry-core ];
@@ -39,6 +35,7 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
    requests
  ];
@@ -54,7 +51,7 @@ buildPythonPackage rec {
    description = "Library to support OpenSearch for pySigma";
    homepage = "https://github.com/SigmaHQ/pySigma-backend-opensearch";
    changelog = "https://github.com/SigmaHQ/pySigma-backend-opensearch/releases/tag/v${version}";
    license = with licenses; [ lgpl21Only ];
    license = licenses.lgpl21Only;
    maintainers = with maintainers; [ fab ];
  };
}