13 buildPythonPackage rec {
19 inherit pname version;
20 hash = "sha256-GTzoIk4GjO1mckz0gxBvtmdLUaV1g6waDn7Xp+6Mcas=";
27 propagatedBuildInputs = [
38 # On darwin: Too many open files
39 preCheck = lib.optionalString stdenv.isDarwin ''
44 # these tests raise circus.tests.support.TimeoutException
47 "test_reload_sequential"
48 "test_reload_uppercase"
49 "test_reload_wid_1_worker"
50 "test_reload_wid_4_workers"
53 "test_command_already_running"
56 "test_resource_watcher_max_cpu"
57 "test_resource_watcher_max_mem"
58 "test_resource_watcher_max_mem_abs"
59 "test_resource_watcher_min_cpu"
60 "test_resource_watcher_min_mem"
61 "test_resource_watcher_min_mem_abs"
63 "test_watchdog_discovery_found"
64 "test_watchdog_discovery_not_found"
68 "test_stop_and_restart"
71 "test_set_before_launch"
75 "test_exits_within_graceful_timeout"
76 "test_kills_after_graceful_timeout"
77 # this test requires socket communication
81 pythonImportsCheck = [ "circus" ];
84 description = "A process and socket manager";
85 homepage = "https://github.com/circus-tent/circus";
86 license = licenses.asl20;