2017-11-07 13:36:48 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, mock, manuel, pytest, sybil, zope_component, django }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testfixtures";
|
2018-04-04 20:17:33 +02:00
|
|
|
version = "6.0.0";
|
2017-11-07 13:36:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:17:33 +02:00
|
|
|
sha256 = "f6c4cf24d043f9d8e9a9337371ec1d2f6638a0032504bd67dbd724224fd64969";
|
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";
|
|
|
|
};
|
|
|
|
}
|