Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pysigma-backend-sqlite / default.nix
blobb9279b024102f397c272097f582a01eb9740ef5e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pysigma
6 , pytestCheckHook
7 , pythonOlder
8 , requests
9 }:
11 buildPythonPackage rec {
12   pname = "pysigma-backend-sqlite";
13   version = "0.1.2";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "SigmaHQ";
20     repo = "pySigma-backend-sqlite";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-wbFSgtsiP5k1aGJx8PWDl0N28r0dgn6Fduk0PuM8x3w=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27   ];
29   propagatedBuildInputs = [
30     pysigma
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35     requests
36   ];
38   pythonImportsCheck = [
39     "sigma.backends.sqlite"
40   ];
42   meta = with lib; {
43     description = "Library to support sqlite for pySigma";
44     homepage = "https://github.com/SigmaHQ/pySigma-backend-sqlite";
45     changelog = "https://github.com/SigmaHQ/pySigma-backend-sqlite/releases/tag/v${version}";
46     license = with licenses; [ lgpl3Only ];
47     maintainers = with maintainers; [ fab ];
48   };