python3Packages.pysigma-backend-insightidr: init at 0.1.4

This commit is contained in:
Fabian Affolter 2022-04-14 16:21:29 +02:00
parent fd3bd02335
commit 569beef050
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pysigma
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pysigma-backend-insightidr";
version = "0.1.4";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "SigmaHQ";
repo = "pySigma-backend-insightidr";
rev = "v${version}";
hash = "sha256-ivigYBCoQtAfVmTiKvYugzPbw3tG0Xn5IYbHVJuubDE=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pysigma
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sigma.backends.insight_idr"
"sigma.pipelines.insight_idr"
];
meta = with lib; {
description = "Library to support the Rapid7 InsightIDR backend for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-backend-insightidr";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7719,6 +7719,8 @@ in {
pysigma-backend-splunk = callPackage ../development/python-modules/pysigma-backend-splunk { };
pysigma-backend-insightidr = callPackage ../development/python-modules/pysigma-backend-insightidr { };
pysigma-pipeline-crowdstrike = callPackage ../development/python-modules/pysigma-pipeline-crowdstrike { };
pysigma-pipeline-sysmon = callPackage ../development/python-modules/pysigma-pipeline-sysmon { };