depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-autobuild/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

29 lines
702 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sphinx
, livereload
}:
buildPythonPackage rec {
pname = "sphinx-autobuild";
version = "2021.3.14";
src = fetchPypi {
inherit pname version;
sha256 = "de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05";
};
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];
};
}