2021-09-11 07:46:27 +01:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2016-10-14 06:45:33 +01:00
|
|
|
|
2021-09-11 07:46:27 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "zk-shell";
|
2016-10-14 06:45:33 +01:00
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rgs1";
|
|
|
|
repo = "zk_shell";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7";
|
|
|
|
};
|
|
|
|
|
2021-09-11 07:46:27 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
ansi
|
|
|
|
kazoo
|
|
|
|
nose
|
|
|
|
six
|
|
|
|
tabulate
|
|
|
|
twitter
|
|
|
|
];
|
2016-10-14 06:45:33 +01:00
|
|
|
|
2021-09-11 07:46:27 +01:00
|
|
|
# requires a running zookeeper, don't know how to fix that for the moment
|
2016-10-14 06:45:33 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-09-11 07:46:27 +01:00
|
|
|
meta = with lib; {
|
2016-10-14 06:45:33 +01:00
|
|
|
description = "A powerful & scriptable shell for Apache ZooKeeper";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rgs1/zk_shell";
|
2021-09-11 07:46:27 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mahe ];
|
|
|
|
platforms = platforms.all;
|
2016-10-14 06:45:33 +01:00
|
|
|
};
|
|
|
|
}
|