83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
47 lines
1,006 B
Nix
47 lines
1,006 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pysigma
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysigma-pipeline-windows";
|
|
version = "1.1.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SigmaHQ";
|
|
repo = "pySigma-pipeline-windows";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-jXUTGt/kbw6XfxA7A+t9km5GdltV1VRBTUf4lw1AwO4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pysigma
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"sigma.pipelines.windows"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library to support Windows service pipeline for pySigma";
|
|
homepage = "https://github.com/SigmaHQ/pySigma-pipeline-windows";
|
|
changelog = "https://github.com/SigmaHQ/pySigma-pipeline-windows/releases/tag/v${version}";
|
|
license = with licenses; [ lgpl21Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|