2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
django,
|
|
|
|
pytestCheckHook,
|
|
|
|
tornado,
|
|
|
|
six,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
tornado
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|