Merge pull request #120045 from FlorianFranzen/sphinx-serve

This commit is contained in:
Sandro 2021-04-24 02:57:39 +02:00 committed by GitHub
commit 4213f6d839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sphinx-serve";
version = "1.0.1";
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";
homepage = "https://github.com/tlatsas/sphinx-serve";
maintainers = with maintainers; [ FlorianFranzen ];
license = licenses.mit;
};
}

View file

@ -17517,6 +17517,10 @@ in
fftw = fftwFloat;
};
sphinx = with python3Packages; toPythonApplication sphinx;
sphinx-serve = with python3Packages; toPythonApplication sphinx-serve;
sphinxbase = callPackage ../development/libraries/sphinxbase { };
sphinxsearch = callPackage ../servers/search/sphinxsearch { };

View file

@ -8168,6 +8168,8 @@ in {
sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { };
sphinx-serve = callPackage ../development/python-modules/sphinx-serve { };
sphinx-testing = callPackage ../development/python-modules/sphinx-testing { };
spidev = callPackage ../development/python-modules/spidev { };