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