2017-11-07 13:36:48 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-07-21 02:44:44 +02:00
|
|
|
, mock, manuel, pytest, sybil, zope_component }:
|
2017-11-07 13:36:48 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testfixtures";
|
2018-06-21 07:37:18 +02:00
|
|
|
version = "6.2.0";
|
2017-11-07 13:36:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 07:37:18 +02:00
|
|
|
sha256 = "7e4df89a8bf8b8905464160f08aff131a36f0b33654fe4f9e4387afe546eae25";
|
2017-11-07 13:36:48 +01: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";
|
|
|
|
};
|
|
|
|
}
|