83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
48 lines
938 B
Nix
48 lines
938 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pysigma
|
|
, pysigma-pipeline-sysmon
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysigma-backend-splunk";
|
|
version = "1.0.2";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SigmaHQ";
|
|
repo = "pySigma-backend-splunk";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-SWD3Jw1wehWLvWkLA7rotweExYCrabq7men22D0zN5w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pysigma
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pysigma-pipeline-sysmon
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"sigma.backends.splunk"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library to support Splunk for pySigma";
|
|
homepage = "https://github.com/SigmaHQ/pySigma-backend-splunk";
|
|
license = with licenses; [ lgpl21Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|