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

29 lines
779 B
Nix
Raw Normal View History

2016-10-23 07:57:37 +01:00
{ stdenv, fetchFromGitHub, pythonPackages }:
2016-10-14 06:45:33 +01:00
2016-10-23 15:48:20 +01:00
pythonPackages.buildPythonApplication rec {
2016-10-14 06:45:33 +01: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 07:57:37 +01:00
ansi kazoo nose six tabulate twitter
2016-10-14 06:45:33 +01: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";
homepage = https://github.com/rgs1/zk_shell;
2016-10-14 17:11:48 +01:00
license = stdenv.lib.licenses.asl20;
2016-10-14 06:45:33 +01:00
maintainers = [ stdenv.lib.maintainers.mahe ];
platforms = stdenv.lib.platforms.all;
};
}