1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, nose 5, django 6, tornado 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "livereload"; 12 version = "2.6.3"; 13 14 src = fetchFromGitHub { 15 owner = "lepture"; 16 repo = "python-livereload"; 17 rev = version; 18 sha256 = "1alp83h3l3771l915jqa1ylyllad7wxnmblayan0z0zj37jkp9n7"; 19 }; 20 21 buildInputs = [ django ]; 22 23 propagatedBuildInputs = [ tornado six ]; 24 25 nativeCheckInputs = [ nose ]; 26 # TODO: retry running all tests after v2.6.1 27 checkPhase = "NOSE_EXCLUDE=test_watch_multiple_dirs nosetests -s"; 28 29 meta = { 30 description = "Runs a local server that reloads as you develop"; 31 homepage = "https://github.com/lepture/python-livereload"; 32 license = lib.licenses.bsd3; 33 }; 34}