Skip to content

Commit

Permalink
Merge pull request #213891 from otavio/topic/new-tmuxp
Browse files Browse the repository at this point in the history
tmuxp: 1.23.0 -> 1.27.0
  • Loading branch information
superherointj committed Feb 2, 2023
2 parents 325aba2 + c4724df commit 8fc4e60
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
19 changes: 13 additions & 6 deletions pkgs/development/python-modules/libtmux/default.nix
Expand Up @@ -7,18 +7,19 @@
, pytestCheckHook
, procps
, tmux
, ncurses
}:

buildPythonPackage rec {
pname = "libtmux";
version = "0.18.1";
version = "0.21.0";
format = "pyproject";

src = fetchFromGitHub {
owner = "tmux-python";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-OhNyJcnxjbyP/Kpt70qLv3ZtZvXXVTWEMcjv/pa50/4=";
hash = "sha256-nZPVS3jNz2e2LTlWiSz1fN7MzqJs/CqtAt6UVZaPPTY=";
};

postPatch = ''
Expand All @@ -32,14 +33,20 @@ buildPythonPackage rec {
nativeCheckInputs = [
procps
tmux
ncurses
pytest-rerunfailures
pytestCheckHook
];

pytestFlagsArray = [
"tests"
] ++ lib.optionals stdenv.isDarwin [
"--ignore=tests/test_test.py"
pytestFlagsArray = [ "tests" ];

disabledTests = [
# Fail with: 'no server running on /tmp/tmux-1000/libtmux_test8sorutj1'.
"test_new_session_width_height"
];

disabledTestPaths = lib.optionals stdenv.isDarwin [
"test_test.py"
];

pythonImportsCheck = [ "libtmux" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/misc/tmuxp/default.nix
Expand Up @@ -6,11 +6,11 @@ let
in
pypkgs.buildPythonApplication rec {
pname = "tmuxp";
version = "1.23.0";
version = "1.27.0";

src = pypkgs.fetchPypi {
inherit pname version;
sha256 = "Ix/43QFOa0kCP5xndszFGk0p12w/t/z+fVcYRIj9y0s=";
sha256 = "sha256-QAk+rcNYjhAgkJX2fa0bl3dHrB4yyYQ/oNlUX3IQMR8=";
};

# No tests in archive
Expand Down

0 comments on commit 8fc4e60

Please sign in to comment.