diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-31 18:26:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 18:26:09 +0100 |
commit | 51f74e3cb70998d249867a0a2b67e810dd749558 (patch) | |
tree | 2e96081a794903dfe92a54754b16884968dd39a4 /pkgs/development | |
parent | 94b3465cbc3e01be0376405d17420185119666b5 (diff) | |
parent | f11000ea50e2737b68ce9e0c48a59818e6e4da71 (diff) |
Merge pull request #109565 from HolgerPeters/master
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/sphinx-autobuild/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sphinx-autobuild/default.nix b/pkgs/development/python-modules/sphinx-autobuild/default.nix new file mode 100644 index 0000000000000..958c1a6b19c5e --- /dev/null +++ b/pkgs/development/python-modules/sphinx-autobuild/default.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, buildPythonPackage +, fetchPypi +, sphinx +, livereload +}: + +buildPythonPackage rec { + pname = "sphinx-autobuild"; + version = "2020.9.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1vbaf4vrxahylyp8zrlw5dx1d2faajp926c3pl5i1wlkp1yll62b"; + }; + + 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 ]; + maintainer = with maintainers; [holgerpeters]; + }; +} |