python3.pkgs.sphinx-notfound-page: init at 0.8.3
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, pythonImportsCheckHook
|
||||
# documentation build dependencies
|
||||
, sphinxHook
|
||||
, sphinx-prompt
|
||||
, sphinx-rtd-theme
|
||||
, sphinx-tabs
|
||||
, sphinxcontrib-autoapi
|
||||
, sphinxemoji
|
||||
# runtime dependencies
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-notfound-page";
|
||||
version = "0.8.3";
|
||||
format = "flit";
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "readthedocs";
|
||||
repo = "sphinx-notfound-page";
|
||||
rev = version;
|
||||
hash = "sha256-9iP6X2dqtMC3+CIrNI3fGDLL8xyXVAWNhN90DlMa9JU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
pythonImportsCheckHook
|
||||
sphinxHook
|
||||
sphinx-prompt
|
||||
sphinx-rtd-theme
|
||||
sphinx-tabs
|
||||
sphinxcontrib-autoapi
|
||||
sphinxemoji
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ sphinx ];
|
||||
|
||||
pythonImportsCheck = [ "notfound" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A sphinx extension to create a custom 404 page with absolute URLs hardcoded";
|
||||
homepage = "https://github.com/readthedocs/sphinx-notfound-page";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kaction ];
|
||||
};
|
||||
}
|
||||
@@ -10736,6 +10736,8 @@ self: super: with self; {
|
||||
|
||||
sphinx-multitoc-numbering = callPackage ../development/python-modules/sphinx-multitoc-numbering { };
|
||||
|
||||
sphinx-notfound-page = callPackage ../development/python-modules/sphinx-notfound-page { };
|
||||
|
||||
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
||||
|
||||
sphinx-thebe = callPackage ../development/python-modules/sphinx-thebe { };
|
||||
|
||||
Reference in New Issue
Block a user