depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-autobuild/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

29 lines
689 B
Nix

{ lib
, 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 ];
maintainers = with maintainers; [holgerpeters];
};
}