Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 847 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, kazoo 5, six 6, testtools 7, python 8}: 9 10buildPythonPackage rec { 11 pname = "zake"; 12 version = "0.2.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1rp4xxy7qp0s0wnq3ig4ji8xsl31g901qkdp339ndxn466cqal2s"; 17 }; 18 19 propagatedBuildInputs = [ kazoo six ]; 20 buildInputs = [ testtools ]; 21 checkPhase = '' 22 # Skip test - fails with our new kazoo version 23 substituteInPlace zake/tests/test_client.py \ 24 --replace "test_child_watch_no_create" "_test_child_watch_no_create" 25 26 ${python.interpreter} -m unittest discover zake/tests 27 ''; 28 29 meta = with stdenv.lib; { 30 homepage = "https://github.com/yahoo/Zake"; 31 description = "A python package that works to provide a nice set of testing utilities for the kazoo library"; 32 license = licenses.asl20; 33 broken = true; 34 }; 35 36}