python311Packages.pysigma-backend-sqlite: init at 0.1.2

Library to support sqlite for pySigma

https://github.com/SigmaHQ/pySigma-backend-sqlite
This commit is contained in:
Fabian Affolter 2024-02-10 10:18:08 +01:00
parent 2bb0628b35
commit 990d55dfe6
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pysigma
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pysigma-backend-sqlite";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "SigmaHQ";
repo = "pySigma-backend-sqlite";
rev = "refs/tags/v${version}";
hash = "sha256-wbFSgtsiP5k1aGJx8PWDl0N28r0dgn6Fduk0PuM8x3w=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pysigma
];
nativeCheckInputs = [
pytestCheckHook
requests
];
pythonImportsCheck = [
"sigma.backends.sqlite"
];
meta = with lib; {
description = "Library to support sqlite for pySigma";
homepage = "https://github.com/SigmaHQ/pySigma-backend-sqlite";
changelog = "https://github.com/SigmaHQ/pySigma-backend-sqlite/releases/tag/v${version}";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -11322,6 +11322,8 @@ self: super: with self; {
pysigma-backend-splunk = callPackage ../development/python-modules/pysigma-backend-splunk { };
pysigma-backend-sqlite = callPackage ../development/python-modules/pysigma-backend-sqlite { };
pysigma-backend-insightidr = callPackage ../development/python-modules/pysigma-backend-insightidr { };
pysigma-pipeline-crowdstrike = callPackage ../development/python-modules/pysigma-pipeline-crowdstrike { };