Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #141783 from LibreCybernetics/update-coconut

coconut: 1.4.3 → 1.5.0

authored by

Artturi and committed by
GitHub
d5be49ef 34ad3ffe

+16 -23
+10 -19
pkgs/development/python-modules/coconut/default.nix
··· 5 5 , cpyparsing 6 6 , ipykernel 7 7 , mypy 8 + , pexpect 8 9 , pygments 9 10 , pytestCheckHook 10 11 , prompt-toolkit ··· 14 15 15 16 buildPythonApplication rec { 16 17 pname = "coconut"; 17 - version = "1.4.3"; 18 + version = "1.5.0"; 18 19 19 20 src = fetchFromGitHub { 20 21 owner = "evhub"; 21 22 repo = "coconut"; 22 23 rev = "v${version}"; 23 - sha256 = "1pz13vza3yy95dbylnq89fzc3mwgcqr7ds096wy25k6vxd9dp9c3"; 24 + sha256 = "1gc0fwqwzn1j6mcg1f6fw832w66pbaaq9mmi0r4kw3xn5f877icz"; 24 25 }; 25 26 26 - propagatedBuildInputs = [ cpyparsing pygments prompt-toolkit ipykernel mypy watchdog ]; 27 + propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ]; 27 28 28 - patches = [ 29 - (fetchpatch { 30 - name = "fix-setuptools-version-check.patch"; 31 - url = "https://github.com/LibreCybernetics/coconut/commit/2916a087da1e063cc4438b68d4077347fd1ea4a2.patch"; 32 - sha256 = "136jbd2rvnifw30y73vv667002nf7sbkm5qyihshj4db7ngysr6q"; 33 - }) 34 - (fetchpatch { 35 - name = "support-python-3.9.patch"; 36 - url = "https://github.com/evhub/coconut/commit/5c724b4dd92fb62c614d8192e3cac3dd1d475790.patch"; 37 - sha256 = "04xmzyfmyv6gr2l2z6pdxlllwzcmwxvahxzqyxglr36hfl33ad71"; 38 - }) 39 - ]; 29 + postPatch = '' 30 + substituteInPlace coconut/kernel_installer.py \ 31 + --replace "fixpath(os.path.join(sys.exec_prefix, icoconut_custom_kernel_install_loc))" \ 32 + "fixpath(icoconut_custom_kernel_install_loc)" 33 + ''; 40 34 41 - checkInputs = [ 42 - pytestCheckHook 43 - tkinter 44 - ]; 35 + checkInputs = [ pexpect pytestCheckHook tkinter ]; 45 36 46 37 # Currently most tests do not work on Hydra due to external fetches. 47 38 pytestFlagsArray = [
+6 -4
pkgs/development/python-modules/cpyparsing/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, cython, python }: 1 + { lib, buildPythonPackage, fetchFromGitHub, cython, pexpect, python }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cpyparsing"; 5 - version = "2.4.5.0.1.1"; 5 + version = "2.4.5.0.1.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "evhub"; 9 9 repo = pname; 10 - rev = "aa8ee45daec5c55328446bad7202ab8f799ab0ce"; # No tags on repo 11 - sha256 = "1mxa5q41cb0k4lkibs0d4lzh1w6kmhhdrsm0w0r1m3s80m05ffmw"; 10 + rev = "38f2b323b99cee9a080106ae9951ffc5752599f0"; # No tags on repo 11 + sha256 = "0wrm6vzwp968z7s0qhr23v39ivyxzvav3mv9i2n0iv9zl041kypv"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cython ]; 15 + 16 + checkInputs = [ pexpect ]; 15 17 16 18 checkPhase = "${python.interpreter} tests/cPyparsing_test.py"; 17 19