diff options
author | Matthias Herrmann <matthias.mh.herrmann@gmail.com> | 2016-10-14 07:45:33 +0200 |
---|---|---|
committer | Matthias Herrmann <matthias.herrmann@ymc.ch> | 2016-10-14 09:24:50 +0200 |
commit | 725544fd9e56bd4fdda58ea71ed2904869d441d9 (patch) | |
tree | 3530f06b787c09307a49c5f0e52831750d2e416c /pkgs | |
parent | 9615afa04b75291a298853ae8e72ca56da9eb622 (diff) |
zk-shell: init at 1.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/zk-shell/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/misc/zk-shell/default.nix b/pkgs/applications/misc/zk-shell/default.nix new file mode 100644 index 0000000000000..b03208f9f2b36 --- /dev/null +++ b/pkgs/applications/misc/zk-shell/default.nix @@ -0,0 +1,28 @@ +{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }: + +buildPythonApplication rec { + version = "1.0.0"; + name = "zk-shell-" + version; + + src = fetchFromGitHub { + owner = "rgs1"; + repo = "zk_shell"; + rev = "v${version}"; + sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7"; + }; + + propagatedBuildInputs = (with pythonPackages; [ + ansi kazoo nose six tabulate twitter readline + ]); + + #requires a running zookeeper, don't know how to fix that for the moment + doCheck = false; + + meta = { + description = "A powerful & scriptable shell for Apache ZooKeeper"; + homepage = https://github.com/rgs1/zk_shell; + license = stdenv.lib.licenses.apache2; + maintainers = [ stdenv.lib.maintainers.mahe ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9450ef9915e32..adc56c5543a74 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17335,6 +17335,10 @@ in zimg = callPackage ../development/libraries/zimg { }; + zk-shell = callPackage ../applications/misc/zk-shell { + inherit (pythonPackages) buildPythonApplication; + }; + zuki-themes = callPackage ../misc/themes/zuki { }; zoom-us = qt55.callPackage ../applications/networking/instant-messengers/zoom-us {}; |