mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
29 lines
757 B
Nix
29 lines
757 B
Nix
{ lib, fetchFromGitHub, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "1.0.0";
|
|
name = "zk-shell-" + version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rgs1";
|
|
repo = "zk_shell";
|
|
rev = "v${version}";
|
|
sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7";
|
|
};
|
|
|
|
propagatedBuildInputs = (with pythonPackages; [
|
|
ansi kazoo nose six tabulate twitter
|
|
]);
|
|
|
|
#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";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.mahe ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|