2017-11-07 12:36:48 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, mock, manuel, pytest, sybil, zope_component, django }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testfixtures";
|
2018-02-03 09:54:49 +00:00
|
|
|
version = "5.4.0";
|
2017-11-07 12:36:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-03 09:54:49 +00:00
|
|
|
sha256 = "338aed9695c432b7c9b8a271dabb521e3e7e2c96b11f7b4e60552f1c8408a8f0";
|
2017-11-07 12:36:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ mock manuel pytest sybil zope_component ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
# django is too much hasle to setup at the moment
|
|
|
|
pytest --ignore=testfixtures/tests/test_django testfixtures/tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/Simplistix/testfixtures";
|
|
|
|
};
|
|
|
|
}
|