Merge pull request #213891 from otavio/topic/new-tmuxp

tmuxp: 1.23.0 -> 1.27.0

authored by superherointj and committed by GitHub 8fc4e605 325aba25

+15 -8
+13 -6
pkgs/development/python-modules/libtmux/default.nix
··· 7 7 , pytestCheckHook 8 8 , procps 9 9 , tmux 10 + , ncurses 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "libtmux"; 14 - version = "0.18.1"; 15 + version = "0.21.0"; 15 16 format = "pyproject"; 16 17 17 18 src = fetchFromGitHub { 18 19 owner = "tmux-python"; 19 20 repo = pname; 20 21 rev = "refs/tags/v${version}"; 21 - hash = "sha256-OhNyJcnxjbyP/Kpt70qLv3ZtZvXXVTWEMcjv/pa50/4="; 22 + hash = "sha256-nZPVS3jNz2e2LTlWiSz1fN7MzqJs/CqtAt6UVZaPPTY="; 22 23 }; 23 24 24 25 postPatch = '' ··· 32 33 nativeCheckInputs = [ 33 34 procps 34 35 tmux 36 + ncurses 35 37 pytest-rerunfailures 36 38 pytestCheckHook 37 39 ]; 38 40 39 - pytestFlagsArray = [ 40 - "tests" 41 - ] ++ lib.optionals stdenv.isDarwin [ 42 - "--ignore=tests/test_test.py" 41 + pytestFlagsArray = [ "tests" ]; 42 + 43 + disabledTests = [ 44 + # Fail with: 'no server running on /tmp/tmux-1000/libtmux_test8sorutj1'. 45 + "test_new_session_width_height" 46 + ]; 47 + 48 + disabledTestPaths = lib.optionals stdenv.isDarwin [ 49 + "test_test.py" 43 50 ]; 44 51 45 52 pythonImportsCheck = [ "libtmux" ];
+2 -2
pkgs/tools/misc/tmuxp/default.nix
··· 6 6 in 7 7 pypkgs.buildPythonApplication rec { 8 8 pname = "tmuxp"; 9 - version = "1.23.0"; 9 + version = "1.27.0"; 10 10 11 11 src = pypkgs.fetchPypi { 12 12 inherit pname version; 13 - sha256 = "Ix/43QFOa0kCP5xndszFGk0p12w/t/z+fVcYRIj9y0s="; 13 + sha256 = "sha256-QAk+rcNYjhAgkJX2fa0bl3dHrB4yyYQ/oNlUX3IQMR8="; 14 14 }; 15 15 16 16 # No tests in archive