Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 django, 6 pytestCheckHook, 7 tornado, 8 six, 9}: 10 11buildPythonPackage rec { 12 pname = "livereload"; 13 version = "2.7.0"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "lepture"; 18 repo = "python-livereload"; 19 rev = "refs/tags/${version}"; 20 sha256 = "sha256-1at/KMgDTj0TTnq5Vjgklkyha3QUF8bFeKxQSrvx1oE="; 21 }; 22 23 buildInputs = [ django ]; 24 25 propagatedBuildInputs = [ 26 tornado 27 six 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 disabledTests = [ "test_watch_multiple_dirs" ]; 33 34 meta = { 35 description = "Runs a local server that reloads as you develop"; 36 mainProgram = "livereload"; 37 homepage = "https://github.com/lepture/python-livereload"; 38 license = lib.licenses.bsd3; 39 maintainers = with lib; [ ]; 40 }; 41}