2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, pythonPackages }:
|
2016-10-14 07:45:33 +02:00
|
|
|
|
2016-10-23 16:48:20 +02:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2016-10-14 07:45:33 +02:00
|
|
|
version = "1.0.0";
|
|
|
|
name = "zk-shell-" + version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rgs1";
|
|
|
|
repo = "zk_shell";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = (with pythonPackages; [
|
2016-10-23 08:57:37 +02:00
|
|
|
ansi kazoo nose six tabulate twitter
|
2016-10-14 07:45:33 +02:00
|
|
|
]);
|
|
|
|
|
|
|
|
#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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/rgs1/zk_shell";
|
2021-01-15 06:42:41 +01:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.mahe ];
|
|
|
|
platforms = lib.platforms.all;
|
2016-10-14 07:45:33 +02:00
|
|
|
};
|
|
|
|
}
|