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
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
}:
|
||||
|
||||
@ -23,8 +24,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-VymaxX+iqrRlf+WEt4xqEvNt5kg8xI5O/MoYahayu0o=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pysigma"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -36,11 +42,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'pysigma = "^0.7.2"' 'pysigma = "*"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sigma.backends.qradar"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user