1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pysigma,
7 pysigma-pipeline-sysmon,
8 pytestCheckHook,
9 pythonOlder,
10}:
11
12buildPythonPackage rec {
13 pname = "pysigma-backend-qradar";
14 version = "0.3.3";
15 format = "pyproject";
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchFromGitHub {
20 owner = "nNipsx-Sec";
21 repo = "pySigma-backend-qradar";
22 tag = "v${version}";
23 hash = "sha256-VymaxX+iqrRlf+WEt4xqEvNt5kg8xI5O/MoYahayu0o=";
24 };
25
26 pythonRelaxDeps = [ "pysigma" ];
27
28 nativeBuildInputs = [
29 poetry-core
30 ];
31
32 propagatedBuildInputs = [ pysigma ];
33
34 nativeCheckInputs = [
35 pysigma-pipeline-sysmon
36 pytestCheckHook
37 ];
38
39 pythonImportsCheck = [ "sigma.backends.qradar" ];
40
41 meta = with lib; {
42 description = "Library to support Qradar for pySigma";
43 homepage = "https://github.com/nNipsx-Sec/pySigma-backend-qradar";
44 changelog = "https://github.com/nNipsx-Sec/pySigma-backend-qradar/releases/tag/v${version}";
45 license = with licenses; [ lgpl21Only ];
46 maintainers = with maintainers; [ fab ];
47 };
48}