1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pysigma,
7 pytestCheckHook,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "pysigma-pipeline-crowdstrike";
13 version = "2.0.1";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "SigmaHQ";
20 repo = "pySigma-pipeline-crowdstrike";
21 tag = "v${version}";
22 hash = "sha256-WYgT0tRXdSR4qJA7UHotPn9qfnpaIJaqASBXVDG1kOU=";
23 };
24
25 build-system = [ poetry-core ];
26
27 dependencies = [ pysigma ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 pythonImportsCheck = [ "sigma.pipelines.crowdstrike" ];
32
33 disabledTests = [
34 # Windows binary not mocked
35 "test_crowdstrike_pipeline_parentimage"
36 ];
37
38 meta = with lib; {
39 description = "Library to support CrowdStrike pipeline for pySigma";
40 homepage = "https://github.com/SigmaHQ/pySigma-pipeline-crowdstrike";
41 changelog = "https://github.com/SigmaHQ/pySigma-pipeline-crowdstrike/releases/tag/v${version}";
42 license = with licenses; [ lgpl21Only ];
43 maintainers = with maintainers; [ fab ];
44 };
45}