13 buildPythonPackage rec {
18 src = fetchFromGitHub {
19 owner = "tmux-python";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-oJ2IGaPFMKA/amUEPZi1UO9vZtjPNQg3SIFjQWzUeSE=";
26 sed -i '/addopts/d' pyproject.toml
41 pytestFlagsArray = [ "tests" ];
44 # Fail with: 'no server running on /tmp/tmux-1000/libtmux_test8sorutj1'.
45 "test_new_session_width_height"
47 "test_capture_pane_start"
48 ] ++ lib.optionals stdenv.isDarwin [
49 # tests/test_pane.py:113: AssertionError
50 "test_capture_pane_start"
53 disabledTestPaths = lib.optionals stdenv.isDarwin [
55 "tests/legacy_api/test_test.py"
58 pythonImportsCheck = [
63 description = "Typed scripting library / ORM / API wrapper for tmux";
64 homepage = "https://libtmux.git-pull.com/";
65 changelog = "https://github.com/tmux-python/libtmux/raw/v${version}/CHANGES";
66 license = licenses.mit;
67 maintainers = with maintainers; [ otavio ];