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-windows";
12 version = "2.0.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "SigmaHQ";
17 repo = "pySigma-pipeline-windows";
18 tag = "v${version}";
19 hash = "sha256-2S4vWneBNKq/FwhDs4Iref9hvEbcqvG/MOSTMYd7crU=";
20 };
21
22 build-system = [ poetry-core ];
23
24 dependencies = [ pysigma ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonImportsCheck = [ "sigma.pipelines.windows" ];
29
30 meta = {
31 description = "Library to support Windows service pipeline for pySigma";
32 homepage = "https://github.com/SigmaHQ/pySigma-pipeline-windows";
33 changelog = "https://github.com/SigmaHQ/pySigma-pipeline-windows/releases/tag/${src.tag}";
34 license = lib.licenses.lgpl21Only;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}