3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/kazoo/default.nix
R. RyanTM 7ce5dfb0d3 python36Packages.kazoo: 2.2.1 -> 2.5.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-kazoo/versions
2018-10-24 10:10:07 +02:00

45 lines
850 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, six
, eventlet
, gevent
, nose
, mock
, coverage
, pkgs
}:
buildPythonPackage rec {
pname = "kazoo";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "1963l6994vzzy7bjh77y5wnf8lh8zwwibcpcgpfd1rzcppvp9dwd";
};
propagatedBuildInputs = [ six ];
buildInputs = [ eventlet gevent nose mock coverage pkgs.openjdk8 ];
# not really needed
preBuild = ''
sed -i '/flake8/d' setup.py
'';
preCheck = ''
sed -i 's/test_unicode_auth/noop/' kazoo/tests/test_client.py
'';
# tests take a long time to run and leave threads hanging
doCheck = false;
#ZOOKEEPER_PATH = "${pkgs.zookeeper}";
meta = with stdenv.lib; {
homepage = "https://kazoo.readthedocs.org";
description = "Higher Level Zookeeper Client";
license = licenses.asl20;
};
}