blob: 931f9515835492fd611f563d796ad6c92a5c6e94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{ lib
, python3
, fetchFromGitHub
, glibcLocales
, libnotify
}:
python3.pkgs.buildPythonApplication rec {
pname = "zulip-term";
version = "0.7.0";
# no tests on PyPI
src = fetchFromGitHub {
owner = "zulip";
repo = "zulip-terminal";
rev = version;
sha256 = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw=";
};
patches = [
./pytest-executable-name.patch
];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
lxml
pygments
pyperclip
python-dateutil
pytz
typing-extensions
tzlocal
urwid
urwid-readline
zulip
];
nativeCheckInputs = [
glibcLocales
] ++ (with python3.pkgs; [
pytestCheckHook
pytest-cov
pytest-mock
]);
makeWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ libnotify ])
];
meta = with lib; {
description = "Zulip's official terminal client";
homepage = "https://github.com/zulip/zulip-terminal";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}
|