1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pysigma,
7 pytestCheckHook,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "pysigma-pipeline-windows";
13 version = "1.2.0";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "SigmaHQ";
20 repo = "pySigma-pipeline-windows";
21 tag = "v${version}";
22 hash = "sha256-Ss0OMd8urCYQUlvsm/m8Kz0jY4pVSEoZuLxs1JLWxQA=";
23 };
24
25 nativeBuildInputs = [ poetry-core ];
26
27 propagatedBuildInputs = [ pysigma ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 pythonImportsCheck = [ "sigma.pipelines.windows" ];
32
33 meta = with lib; {
34 description = "Library to support Windows service pipeline for pySigma";
35 homepage = "https://github.com/SigmaHQ/pySigma-pipeline-windows";
36 changelog = "https://github.com/SigmaHQ/pySigma-pipeline-windows/releases/tag/v${version}";
37 license = with licenses; [ lgpl21Only ];
38 maintainers = with maintainers; [ fab ];
39 };
40}