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