depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-serve/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
641 B
Nix

{
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;
};
}