mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python312Packages.pysigma-backend-opensearch: refactor
This commit is contained in:
parent
b00811b2b0
commit
6d4eb100e2
@ -1,13 +1,14 @@
|
||||
{ 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 {
|
||||
@ -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
Block a user