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:
commit
effd0ba5a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue