1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pysigma,
7 pytestCheckHook,
8 requests,
9}:
10
11buildPythonPackage rec {
12 pname = "pysigma-backend-sqlite";
13 version = "0.2.0-unstable-2025-01-21";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "SigmaHQ";
18 repo = "pySigma-backend-sqlite";
19 rev = "865350ce1a398acd7182f6f8429c3048db54ef1d";
20 hash = "sha256-NBgpLP3/UUrW/qM24jUyV4MH5c/uCVAfInZ6AKcl1X0=";
21 };
22
23 build-system = [ poetry-core ];
24
25 dependencies = [ pysigma ];
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 requests
30 ];
31
32 pythonImportsCheck = [ "sigma.backends.sqlite" ];
33
34 meta = with lib; {
35 description = "Library to support sqlite for pySigma";
36 homepage = "https://github.com/SigmaHQ/pySigma-backend-sqlite";
37 changelog = "https://github.com/SigmaHQ/pySigma-backend-sqlite/releases/tag/v${version}";
38 license = with licenses; [ lgpl3Only ];
39 maintainers = with maintainers; [ fab ];
40 };
41}