python312Packages.libtmux: 0.40.1 -> 0.46.1; tmuxp: 1.50.1 -> 1.55.0 (#386576)

This commit is contained in:
Thiago Kenji Okada
2025-04-24 10:12:31 +01:00
committed by GitHub
2 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -7,12 +7,12 @@
python3Packages.buildPythonApplication rec {
pname = "tmuxp";
version = "1.50.1";
version = "1.55.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-v7k0S0dMmpmwZkCJhPKiE+sEtVkOL+tE4Io66EIEXP0=";
hash = "sha256-reC609nY1kdmQInAphAfmSTZQQqitTD88EBv/4mU3h0=";
};
build-system = with python3Packages; [
@@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "libtmux";
version = "0.40.1";
version = "0.46.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tmux-python";
repo = "libtmux";
tag = "v${version}";
hash = "sha256-rddjRBofI5M28wvlBwH2VwuIgmulThxbfxiJSOCNkPY=";
hash = "sha256-x+zEfHFTAF0m6j/WFmelcBVOzh7oJE02BdB3bz/EcNM=";
};
postPatch = ''
@@ -50,19 +50,22 @@ buildPythonPackage rec {
++ lib.optionals stdenv.hostPlatform.isDarwin [
# tests/test_pane.py:113: AssertionError
"test_capture_pane_start"
# assert (1740973920.500444 - 1740973919.015309) <= 1.1
"test_retry_three_times"
"test_function_times_out_no_raise"
# assert False
"test_retry_three_times_no_raise_assert"
];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
"tests/test_test.py"
];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test/test_retry.py" ];
pythonImportsCheck = [ "libtmux" ];
meta = with lib; {
meta = {
description = "Typed scripting library / ORM / API wrapper for tmux";
homepage = "https://libtmux.git-pull.com/";
changelog = "https://github.com/tmux-python/libtmux/raw/v${version}/CHANGES";
license = licenses.mit;
maintainers = with maintainers; [ otavio ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ otavio ];
};
}