Merge pull request #310047 from fabaff/pysigma-backend-opensearch-bump

python312Packages.pysigma-backend-opensearch: 1.0.1 -> 1.0.2
This commit is contained in:
Fabian Affolter 2024-05-08 12:59:43 +02:00 committed by GitHub
commit effd0ba5a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 23 deletions

View File

@ -1,18 +1,19 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pysigma
, pysigma-backend-elasticsearch
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, requests
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pysigma,
pysigma-backend-elasticsearch,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
requests,
}:
buildPythonPackage rec {
pname = "pysigma-backend-opensearch";
version = "1.0.1";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-backend-opensearch";
rev = "refs/tags/v${version}";
hash = "sha256-g3kGaNq07yMu3mnRDeZB3Ck8wwzK3HcOIzkl36cNOs8=";
hash = "sha256-VEMt9CKbhPRj1182WcLOqF9JOEzorrz9Yyqp0+FAA88=";
};
postPatch = ''
@ -29,16 +30,13 @@ buildPythonPackage rec {
--replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
'';
pythonRelaxDeps = [
"pysigma"
];
pythonRelaxDeps = [ "pysigma" ];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
pysigma
pysigma-backend-elasticsearch
];
@ -48,9 +46,7 @@ buildPythonPackage rec {
requests
];
pythonImportsCheck = [
"sigma.backends.opensearch"
];
pythonImportsCheck = [ "sigma.backends.opensearch" ];
disabledTests = [
# Tests requires network access