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