at 23.05-pre 868 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, kazoo 5, six 6, testtools 7, unittestCheckHook 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 checkInputs = [ unittestCheckHook ]; 22 preCheck = '' 23 # Skip test - fails with our new kazoo version 24 substituteInPlace zake/tests/test_client.py \ 25 --replace "test_child_watch_no_create" "_test_child_watch_no_create" 26 ''; 27 28 unittestFlagsArray = [ "zake/tests" ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/yahoo/Zake"; 32 description = "A python package that works to provide a nice set of testing utilities for the kazoo library"; 33 license = licenses.asl20; 34 broken = true; 35 }; 36 37}