nixpkgs/pkgs/development/python-modules/detox/default.nix

28 lines
573 B
Nix
Raw Normal View History

2018-03-31 19:56:14 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, pytest, tox, py, eventlet }:
buildPythonPackage rec {
pname = "detox";
2018-08-25 06:45:00 +01:00
version = "0.13";
2018-03-31 19:56:14 +01:00
src = fetchPypi {
inherit pname version;
2018-08-25 06:45:00 +01:00
sha256 = "f0c2af9c29f8e200a50b561ccc531df3087c80e7d3de6cfa9828f5fea3c8f56c";
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;
};
}