2021-01-16 20:16:47 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, livereload
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-autobuild";
|
2021-03-24 09:28:28 +00:00
|
|
|
version = "2021.3.14";
|
2021-01-16 20:16:47 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:28 +00:00
|
|
|
sha256 = "de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05";
|
2021-01-16 20:16:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sphinx livereload ];
|
|
|
|
|
|
|
|
# No tests included.
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "sphinx_autobuild" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Rebuild Sphinx documentation on changes, with live-reload in the browser";
|
|
|
|
homepage = "https://github.com/executablebooks/sphinx-autobuild";
|
|
|
|
license = with licenses; [ mit ];
|
2021-03-17 21:22:00 +00:00
|
|
|
maintainers = with maintainers; [holgerpeters];
|
2021-01-16 20:16:47 +00:00
|
|
|
};
|
|
|
|
}
|