depot/third_party/nixpkgs/pkgs/development/python-modules/pysigma-pipeline-windows/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
991 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pysigma,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pysigma-pipeline-windows";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "SigmaHQ";
repo = "pySigma-pipeline-windows";
rev = "refs/tags/v${version}";
hash = "sha256-Ss0OMd8urCYQUlvsm/m8Kz0jY4pVSEoZuLxs1JLWxQA=";
};
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 ];
};
}