1{ lib
2, buildPythonPackage
3, fetchPypi
4, colorama
5, sphinx
6, livereload
7}:
8
9buildPythonPackage rec {
10 pname = "sphinx-autobuild";
11 version = "2021.3.14";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05";
16 };
17
18 propagatedBuildInputs = [
19 colorama
20 sphinx
21 livereload
22 ];
23
24 # No tests included.
25 doCheck = false;
26
27 pythonImportsCheck = [ "sphinx_autobuild" ];
28
29 meta = with lib; {
30 description = "Rebuild Sphinx documentation on changes, with live-reload in the browser";
31 homepage = "https://github.com/executablebooks/sphinx-autobuild";
32 license = with licenses; [ mit ];
33 maintainers = with maintainers; [holgerpeters];
34 };
35}