1{ stdenv, buildPythonPackage, fetchPypi 2, mock, manuel, pytest, sybil, zope_component, django }: 3 4buildPythonPackage rec { 5 pname = "testfixtures"; 6 version = "5.4.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "338aed9695c432b7c9b8a271dabb521e3e7e2c96b11f7b4e60552f1c8408a8f0"; 11 }; 12 13 checkInputs = [ mock manuel pytest sybil zope_component ]; 14 15 checkPhase = '' 16 # django is too much hasle to setup at the moment 17 pytest --ignore=testfixtures/tests/test_django testfixtures/tests 18 ''; 19 20 meta = with stdenv.lib; { 21 homepage = "https://github.com/Simplistix/testfixtures"; 22 }; 23}