mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
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:
parent
2bb0628b35
commit
990d55dfe6
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user