summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/packages.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/packages.nix b/lib/packages.nix
index da23868..a805e2d 100644
--- a/lib/packages.nix
+++ b/lib/packages.nix
@@ -5,6 +5,41 @@
with pkgs;
let
+ urwid-readline = python3.pkgs.buildPythonPackage rec {
+ pname = "urwid_readline";
+ version = "0.13";
+ src = python3.pkgs.fetchPypi {
+ inherit pname version;
+ sha256 = "1x7s3vnvvhxad72skwr9rdajgbly0rmw4zg1ggc5xfv4r35j1001";
+ };
+ propagatedBuildInputs = [ python3Packages.urwid ];
+ doCheck = false;
+ };
+ zulip-terminal = python3.pkgs.buildPythonApplication rec {
+ pname = "zulip-terminal";
+ version = "0.6.0";
+ src = pkgs.fetchFromGitHub {
+ owner = "zulip";
+ repo = pname;
+ rev = "${version}";
+ sha256 = "0nah8dxgzv2q2gnkzlbc2sm68b1mlgsw8izny2p10i8mcdldjnwy";
+ };
+ propagatedBuildInputs = with python3Packages; [
+ urwid
+ zulip
+ urwid-readline
+ beautifulsoup4
+ lxml
+ pygments
+ typing-extensions
+ dateutil
+ pytz
+ tzlocal
+ pyperclip
+ ];
+ doCheck = false;
+ };
+
zebra = pkgs.stdenv.mkDerivation {
name = "zebra";
src = fetchGit {
@@ -82,5 +117,6 @@ in {
w3m
zebra
zip
+ zulip-terminal
];
}