about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/zk-shell/default.nix
blob: 9f6816f00dda21437dceea027f15580469243b31 (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
{ lib, fetchFromGitHub, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "zk-shell";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "rgs1";
    repo = "zk_shell";
    rev = "v${version}";
    sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7";
  };

  propagatedBuildInputs = with python3Packages; [
    ansi
    kazoo
    nose
    six
    tabulate
    twitter
  ];

  # requires a running zookeeper, don't know how to fix that for the moment
  doCheck = false;

  meta = with lib; {
    description = "A powerful & scriptable shell for Apache ZooKeeper";
    homepage = "https://github.com/rgs1/zk_shell";
    license = licenses.asl20;
    maintainers = [ maintainers.mahe ];
    platforms = platforms.all;
  };
}