about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sphinx-autobuild/default.nix
blob: 7d4629be50c778f55b29ae3e3ae35775d140b48a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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];
  };
}