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 ${python.interpreter} -m unittest discover zake/tests
23 '';
24
25 meta = with stdenv.lib; {
26 homepage = "https://github.com/yahoo/Zake";
27 description = "A python package that works to provide a nice set of testing utilities for the kazoo library";
28 license = licenses.asl20;
29 };
30
31}