nixpkgs/pkgs/applications/misc/zk-shell/default.nix

34 lines
767 B
Nix
Raw Normal View History

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