2018-03-31 19:56:14 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, tox, py, eventlet }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "detox";
|
2019-01-17 01:49:44 +00:00
|
|
|
version = "0.18";
|
2018-03-31 19:56:14 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 01:49:44 +00:00
|
|
|
sha256 = "1yvfhnkw6zpm11yrl2shl794yi68jcfqj8m5n596gqxxbiq6gp90";
|
2018-03-31 19:56:14 +01: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;
|
|
|
|
};
|
|
|
|
}
|