2017-11-07 13:36:48 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, mock, manuel, pytest, sybil, zope_component, django }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testfixtures";
|
2017-11-24 20:36:20 +01:00
|
|
|
version = "5.3.1";
|
2017-11-07 13:36:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-24 20:36:20 +01:00
|
|
|
sha256 = "670ade9410b7132278209e6a2e893caf098b040c4ba4d5ea848367a9c5588728";
|
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";
|
|
|
|
};
|
|
|
|
}
|