2018-03-31 20:56:14 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, tox, py, eventlet }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "detox";
|
2018-04-04 20:06:36 +02:00
|
|
|
version = "0.11";
|
2018-03-31 20:56:14 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:06:36 +02:00
|
|
|
sha256 = "4719ca48c4ea5ffd908b1bc3d5d1b593b41e71dee17180d58d8a3e7e8f588d45";
|
2018-03-31 20:56:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ tox py eventlet ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# eventlet timeout, and broken invokation 3.5
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "What is detox?";
|
|
|
|
homepage = https://bitbucket.org/hpk42/detox;
|
|
|
|
};
|
|
|
|
}
|