1{ stdenv, buildPythonPackage, fetchPypi
2, pytest, tox, py, eventlet }:
3
4buildPythonPackage rec {
5 pname = "detox";
6 version = "0.13";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "f0c2af9c29f8e200a50b561ccc531df3087c80e7d3de6cfa9828f5fea3c8f56c";
11 };
12
13 buildInputs = [ pytest ];
14 propagatedBuildInputs = [ tox py eventlet ];
15
16 checkPhase = ''
17 py.test
18 '';
19
20 # eventlet timeout, and broken invokation 3.5
21 doCheck = false;
22
23 meta = with stdenv.lib; {
24 description = "What is detox?";
25 homepage = https://bitbucket.org/hpk42/detox;
26 };
27}