tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pygelf: init at 0.4.2
Pol Dellaiera
1 year ago
01dbbb39
a44b5328
+52
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
pygelf
default.nix
top-level
python-packages.nix
+50
pkgs/development/python-modules/pygelf/default.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchPypi,
5
5
+
setuptools,
6
6
+
mock,
7
7
+
pytestCheckHook,
8
8
+
requests,
9
9
+
}:
10
10
+
buildPythonPackage rec {
11
11
+
pname = "pygelf";
12
12
+
version = "0.4.2";
13
13
+
pyproject = true;
14
14
+
15
15
+
src = fetchPypi {
16
16
+
pname = "pygelf";
17
17
+
inherit version;
18
18
+
hash = "sha256-0LuPRf9kipoYdxP0oFwJ9oX8uK3XsEu3Rx8gBxvRGq0=";
19
19
+
};
20
20
+
21
21
+
build-system = [ setuptools ];
22
22
+
23
23
+
pythonImportsCheck = [ "pygelf" ];
24
24
+
25
25
+
nativeCheckInputs = [
26
26
+
mock
27
27
+
pytestCheckHook
28
28
+
requests
29
29
+
];
30
30
+
31
31
+
disabledTests = [
32
32
+
# ConnectionRefusedError: [Errno 111] Connection refused
33
33
+
"test_static_fields"
34
34
+
"test_dynamic_fields"
35
35
+
];
36
36
+
37
37
+
disabledTestPaths = [
38
38
+
# These tests requires files that are stripped off by Pypi packaging
39
39
+
"tests/test_queuehandler_support.py"
40
40
+
"tests/test_debug_mode.py"
41
41
+
"tests/test_common_fields.py"
42
42
+
];
43
43
+
44
44
+
meta = {
45
45
+
description = "Python logging handlers with GELF (Graylog Extended Log Format) support";
46
46
+
homepage = "https://github.com/keeprocking/pygelf";
47
47
+
license = lib.licenses.bsd3;
48
48
+
maintainers = with lib.maintainers; [ drupol ];
49
49
+
};
50
50
+
}
+2
pkgs/top-level/python-packages.nix
···
10397
10397
10398
10398
pyfreedompro = callPackage ../development/python-modules/pyfreedompro { };
10399
10399
10400
10400
+
pygelf = callPackage ../development/python-modules/pygelf { };
10401
10401
+
10400
10402
pygments-style-github = callPackage ../development/python-modules/pygments-style-github { };
10401
10403
10402
10404
pygnmi = callPackage ../development/python-modules/pygnmi { };