lol

python3Packages.circus: build from source

Sarah Clark 2012f6d0 1c2203ff

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