From 54ee0fad2eff900f417de96686a7ad760c82175d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Sat, 6 Nov 2021 08:37:22 -0600 Subject: [PATCH] =?UTF-8?q?coconut:=201.5.0=20=E2=86=92=201.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../python-modules/coconut/default.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/coconut/default.nix b/pkgs/development/python-modules/coconut/default.nix index b140f8110a6d..b7301cf1e73a 100644 --- a/pkgs/development/python-modules/coconut/default.nix +++ b/pkgs/development/python-modules/coconut/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonApplication , fetchFromGitHub -, fetchpatch , cpyparsing , ipykernel , mypy @@ -15,30 +14,22 @@ buildPythonApplication rec { pname = "coconut"; - version = "1.5.0"; + version = "1.6.0"; src = fetchFromGitHub { owner = "evhub"; repo = "coconut"; rev = "v${version}"; - sha256 = "1gc0fwqwzn1j6mcg1f6fw832w66pbaaq9mmi0r4kw3xn5f877icz"; + sha256 = "/397YGV6QWWmKfqr5hSvqRoPOu7Hx1Pak6rVPR3etzw="; }; propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ]; - postPatch = '' - substituteInPlace coconut/kernel_installer.py \ - --replace "fixpath(os.path.join(sys.exec_prefix, icoconut_custom_kernel_install_loc))" \ - "fixpath(icoconut_custom_kernel_install_loc)" - ''; - checkInputs = [ pexpect pytestCheckHook tkinter ]; - # Currently most tests do not work on Hydra due to external fetches. + # Currently most tests have performance issues pytestFlagsArray = [ "tests/constants_test.py" - "tests/main_test.py::TestShell::test_compile_to_file" - "tests/main_test.py::TestShell::test_convenience" ]; pythonImportsCheck = [ "coconut" ];