python310Packages.pysigma-backend-qradar: relax pysigma constraint

This commit is contained in:
Fabian Affolter 2022-09-20 13:20:59 +02:00 committed by Jonathan Ringer
parent 793a48673c
commit f0754cfe21

View File

@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "nNipsx-Sec";
repo = "pySigma-backend-qradar";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-b3e8cVrVFZgihhEk6QlUnRZigglczHUa/XeMvMzNYLk=";
};
@ -36,6 +36,11 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pysigma = "^0.7.2"' 'pysigma = "*"'
'';
pythonImportsCheck = [
"sigma.backends.qradar"
];