python3Packages.libtmux: 0.18.0 -> 0.21.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
c6fd903606
commit
c4c744db91
@ -7,18 +7,19 @@
|
|||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, procps
|
, procps
|
||||||
, tmux
|
, tmux
|
||||||
|
, ncurses
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "libtmux";
|
pname = "libtmux";
|
||||||
version = "0.18.1";
|
version = "0.21.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tmux-python";
|
owner = "tmux-python";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-OhNyJcnxjbyP/Kpt70qLv3ZtZvXXVTWEMcjv/pa50/4=";
|
hash = "sha256-nZPVS3jNz2e2LTlWiSz1fN7MzqJs/CqtAt6UVZaPPTY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -32,14 +33,20 @@ buildPythonPackage rec {
|
|||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
procps
|
procps
|
||||||
tmux
|
tmux
|
||||||
|
ncurses
|
||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [ "tests" ];
|
||||||
"tests"
|
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
disabledTests = [
|
||||||
"--ignore=tests/test_test.py"
|
# 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" ];
|
pythonImportsCheck = [ "libtmux" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user