diff options
Diffstat (limited to 'shiton3_global_shit.nix')
-rw-r--r-- | shiton3_global_shit.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/shiton3_global_shit.nix b/shiton3_global_shit.nix new file mode 100644 index 0000000..22bf142 --- /dev/null +++ b/shiton3_global_shit.nix @@ -0,0 +1,51 @@ +{ inputs }: +final: prev: rec { + python3 = prev.python3.override { + packageOverrides = python-final: python-prev: { + eventlet = + with python-prev; + eventlet.overridePythonAttrs (old: rec { + doCheck = false; # Disable tests + doInstallCheck = false; # Disable install checks + nativeCheckInputs = [ ]; + pythonImportsCheck = [ ]; + checkPhase = ""; + tests = [ ]; + disabledTests = [ + # AssertionError: Expected single line "pass" in stdout + "test_fork_after_monkey_patch" + # Tests requires network access + "test_getaddrinfo" + "test_hosts_no_network" + # flaky test, depends on builder performance + "test_server_connection_timeout_exception" + "test_sendall_timeout" + ]; + # catchConflicts = false;# Disable dependency conflict checks + }); + twisted = + with python-prev; + twisted.overridePythonAttrs (old: rec { + doCheck = false; # Disable tests + doInstallCheck = false; # Disable install checks + checkPhase = ""; + }); + django = + with python-prev; + django.overridePythonAttrs (old: rec { + doCheck = false; # Disable tests + doInstallCheck = false; # Disable install checks + checkPhase = ""; + }); + librosa = + with python-prev; + librosa.overridePythonAttrs (old: rec { + doCheck = false; # Disable tests + doInstallCheck = false; # Disable install checks + checkPhase = ""; + }); + }; + }; + pythonPackages = python3.pkgs; + python3Packages = python3.pkgs; +} |