mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
python311Packages.pysigma-backend-qradar: migrate to pythonRelaxDepsHook
This commit is contained in:
parent
990d55dfe6
commit
bf5bf393a5
@ -6,6 +6,7 @@
|
|||||||
, pysigma-pipeline-sysmon
|
, pysigma-pipeline-sysmon
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, requests
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,8 +24,13 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-VymaxX+iqrRlf+WEt4xqEvNt5kg8xI5O/MoYahayu0o=";
|
hash = "sha256-VymaxX+iqrRlf+WEt4xqEvNt5kg8xI5O/MoYahayu0o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"pysigma"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -36,11 +42,6 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace 'pysigma = "^0.7.2"' 'pysigma = "*"'
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"sigma.backends.qradar"
|
"sigma.backends.qradar"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user