about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sphinx-serve/default.nix
blob: 729118dd50963865989e4f0cd6b7f166a982b24d (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
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "sphinx-serve";
  version = "1.0.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8d90f6595114108500b1f935d3f4d07bf5192783c67ce83f944ef289099669c9";
  };

  doCheck = false; # No tests

  pythonImportsCheck = [ "sphinx_serve" ];

  meta = with lib; {
    description = "Spawns a simple HTTP server to preview your sphinx documents";
    mainProgram = "sphinx-serve";
    homepage = "https://github.com/tlatsas/sphinx-serve";
    maintainers = with maintainers; [ FlorianFranzen ];
    license = licenses.mit;
  };
}