2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, django
|
2024-02-29 20:09:43 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, tornado
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "livereload";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "2.6.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lepture";
|
|
|
|
repo = "python-livereload";
|
2020-12-25 13:55:36 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1alp83h3l3771l915jqa1ylyllad7wxnmblayan0z0zj37jkp9n7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ tornado six ];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"test_watch_multiple_dirs"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Runs a local server that reloads as you develop";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "livereload";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/lepture/python-livereload";
|
|
|
|
license = lib.licenses.bsd3;
|
2024-02-29 20:09:43 +00:00
|
|
|
maintainers = with lib; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|