zulip-term: 0.6.0 -> 0.7.0
This commit is contained in:
parent
2349dd5cb2
commit
d7da02c1e0
2 changed files with 14 additions and 23 deletions
|
@ -7,30 +7,28 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "zulip-term";
|
pname = "zulip-term";
|
||||||
version = "0.6.0";
|
version = "0.7.0";
|
||||||
|
|
||||||
# no tests on PyPI
|
# no tests on PyPI
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zulip";
|
owner = "zulip";
|
||||||
repo = "zulip-terminal";
|
repo = "zulip-terminal";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-nlvZaGMVRRCu8PZHxPWjNSxkqhZs0T/tE1js/3pDUFk=";
|
sha256 = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
./pytest-executable-name.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
urwid
|
|
||||||
zulip
|
|
||||||
urwid-readline
|
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
lxml
|
lxml
|
||||||
typing-extensions
|
pygments
|
||||||
|
pyperclip
|
||||||
python-dateutil
|
python-dateutil
|
||||||
pytz
|
pytz
|
||||||
|
typing-extensions
|
||||||
tzlocal
|
tzlocal
|
||||||
|
urwid
|
||||||
|
urwid-readline
|
||||||
|
zulip
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -45,6 +43,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
"--prefix" "PATH" ":" (lib.makeBinPath [ libnotify ])
|
"--prefix" "PATH" ":" (lib.makeBinPath [ libnotify ])
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# IndexError: list index out of range
|
||||||
|
"test_main_multiple_notify_options"
|
||||||
|
"test_main_multiple_autohide_options"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Zulip's official terminal client";
|
description = "Zulip's official terminal client";
|
||||||
homepage = "https://github.com/zulip/zulip-terminal";
|
homepage = "https://github.com/zulip/zulip-terminal";
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py
|
|
||||||
index 459aa82..c6e434e 100644
|
|
||||||
--- a/tests/cli/test_run.py
|
|
||||||
+++ b/tests/cli/test_run.py
|
|
||||||
@@ -180,7 +180,7 @@ def test_main_multiple_autohide_options(capsys, options):
|
|
||||||
assert str(e.value) == "2"
|
|
||||||
captured = capsys.readouterr()
|
|
||||||
lines = captured.err.strip('\n')
|
|
||||||
- lines = lines.split("pytest: ", 1)[1]
|
|
||||||
+ lines = lines.split("__main__.py: ", 1)[1]
|
|
||||||
expected = ("error: argument {}: not allowed "
|
|
||||||
"with argument {}".format(options[1], options[0]))
|
|
||||||
assert lines == expected
|
|
Loading…
Reference in a new issue