depot/third_party/nixpkgs/pkgs/development/python-modules/pysigma-pipeline-windows/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

47 lines
1,006 B
Nix

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