tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pysigma-backend-opensearch: refactor
Fabian Affolter
2 years ago
6d4eb100
b00811b2
+17
-21
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pysigma-backend-opensearch
default.nix
+17
-21
pkgs/development/python-modules/pysigma-backend-opensearch/default.nix
reviewed
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, fetchFromGitHub
4
4
-
, poetry-core
5
5
-
, pysigma
6
6
-
, pysigma-backend-elasticsearch
7
7
-
, pytestCheckHook
8
8
-
, pythonOlder
9
9
-
, pythonRelaxDepsHook
10
10
-
, requests
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
poetry-core,
6
6
+
pysigma,
7
7
+
pysigma-backend-elasticsearch,
8
8
+
pytestCheckHook,
9
9
+
pythonOlder,
10
10
+
pythonRelaxDepsHook,
11
11
+
requests,
11
12
}:
12
13
13
14
buildPythonPackage rec {
···
29
30
--replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" ""
30
31
'';
31
32
32
32
-
pythonRelaxDeps = [
33
33
-
"pysigma"
34
34
-
];
33
33
+
pythonRelaxDeps = [ "pysigma" ];
35
34
36
36
-
nativeBuildInputs = [
37
37
-
poetry-core
38
38
-
pythonRelaxDepsHook
39
39
-
];
35
35
+
build-system = [ poetry-core ];
36
36
+
37
37
+
nativeBuildInputs = [ pythonRelaxDepsHook ];
40
38
41
41
-
propagatedBuildInputs = [
39
39
+
dependencies = [
42
40
pysigma
43
41
pysigma-backend-elasticsearch
44
42
];
···
48
46
requests
49
47
];
50
48
51
51
-
pythonImportsCheck = [
52
52
-
"sigma.backends.opensearch"
53
53
-
];
49
49
+
pythonImportsCheck = [ "sigma.backends.opensearch" ];
54
50
55
51
disabledTests = [
56
52
# Tests requires network access