2021-09-18 10:52:07 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "zk-shell";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rgs1";
|
|
|
|
repo = "zk_shell";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7";
|
|
|
|
};
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
ansi
|
|
|
|
kazoo
|
|
|
|
nose
|
|
|
|
six
|
|
|
|
tabulate
|
|
|
|
twitter
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
# requires a running zookeeper, don't know how to fix that for the moment
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Powerful & scriptable shell for Apache ZooKeeper";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "zk-shell";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/rgs1/zk_shell";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mahe ];
|
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|