Unverified Commit be56da7e authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

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

parents ce4e3d1e dde45eca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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; [
+11 −8
Original line number Diff line number Diff line
@@ -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 ];
  };
}