5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
48 lines
932 B
Nix
48 lines
932 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pysigma
|
|
, pysigma-pipeline-sysmon
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysigma-backend-splunk";
|
|
version = "0.3.7";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SigmaHQ";
|
|
repo = "pySigma-backend-splunk";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-8baldryXORVpm8B85avwFJvGdqdAkO67BlIM2ERiSzI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pysigma
|
|
];
|
|
|
|
checkInputs = [
|
|
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 ];
|
|
};
|
|
}
|