tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.circus: build from source
Sarah Clark
10 months ago
2012f6d0
1c2203ff
+9
-41
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
circus
default.nix
+9
-41
pkgs/development/python-modules/circus/default.nix
···
2
2
lib,
3
3
stdenv,
4
4
buildPythonPackage,
5
5
-
fetchPypi,
5
5
+
fetchFromGitHub,
6
6
flit-core,
7
7
psutil,
8
8
pytestCheckHook,
9
9
-
pythonOlder,
10
9
pyyaml,
11
10
pyzmq,
12
11
tornado,
···
17
16
version = "0.19.0";
18
17
pyproject = true;
19
18
20
20
-
disabled = pythonOlder "3.7";
21
21
-
22
22
-
src = fetchPypi {
23
23
-
inherit pname version;
24
24
-
hash = "sha256-++alApmYrBI5sX6904JRrIsiYn0w5OxvaMsQIzkRsPQ=";
19
19
+
src = fetchFromGitHub {
20
20
+
owner = "circus-tent";
21
21
+
repo = "circus";
22
22
+
tag = version;
23
23
+
hash = "sha256-MiZXiGb6F8LAJLAdmEDBO8Y5cJxHJy7jMFi50Ac3Bsc=";
25
24
};
26
25
27
26
build-system = [ flit-core ];
···
43
42
'';
44
43
45
44
disabledTests = [
46
46
-
# these tests raise circus.tests.support.TimeoutException
47
47
-
"test_add_start"
48
48
-
"test_add"
49
49
-
"test_command_already_running"
50
50
-
"test_dummy"
51
51
-
"test_exits_within_graceful_timeout"
52
52
-
"test_full_stats"
53
53
-
"test_handler"
54
54
-
"test_handler"
55
55
-
"test_inherited"
56
56
-
"test_kills_after_graceful_timeout"
57
57
-
"test_launch_cli"
58
58
-
"test_max_age"
59
59
-
"test_reload_sequential"
60
60
-
"test_reload_uppercase"
61
61
-
"test_reload_wid_1_worker"
62
62
-
"test_reload_wid_4_workers"
63
63
-
"test_reload1"
64
64
-
"test_reload2"
65
65
-
"test_resource_watcher_max_cpu"
66
66
-
"test_resource_watcher_max_mem_abs"
45
45
+
# Depends on the build machine configuration
67
46
"test_resource_watcher_max_mem"
68
68
-
"test_resource_watcher_min_cpu"
69
47
"test_resource_watcher_min_mem_abs"
70
70
-
"test_resource_watcher_min_mem"
71
71
-
"test_set_before_launch"
72
72
-
"test_set_by_arbiter"
73
73
-
"test_signal"
74
74
-
"test_stdin_socket"
75
75
-
"test_stop_and_restart"
76
76
-
"test_stream"
77
77
-
"test_venv"
78
78
-
"test_watchdog_discovery_found"
79
79
-
"test_watchdog_discovery_not_found"
80
80
-
# this test requires socket communication
81
81
-
"test_plugins"
48
48
+
# Compares with magic string
49
49
+
"test_streams"
82
50
];
83
51
84
52
pythonImportsCheck = [ "circus" ];