python3Packages.sphinx-multiversion: init at version 0.2.4
This commit is contained in:
parent
f399f43a39
commit
24b73ab429
@ -0,0 +1,36 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchPypi
|
||||||
|
, sphinx
|
||||||
|
, setuptools
|
||||||
|
, unittestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sphinx-multiversion";
|
||||||
|
version = "0.2.4";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version;
|
||||||
|
pname = "sphinx-multiversion";
|
||||||
|
hash = "sha256-XNHKnste7WPLjWzl6cQ4yhOvT6mOfrbzdr5UHdSZC8s=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
dependencies = [ sphinx ];
|
||||||
|
nativeCheckInputs = [ unittestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "sphinx_multiversion" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Sphinx extension for building self-hosted versioned docs.";
|
||||||
|
homepage = "https://holzhaus.github.io/sphinx-multiversion";
|
||||||
|
changelog = "https://github.com/Holzhaus/sphinx-multiversion/releases/tag/v${version}";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ cynerd ];
|
||||||
|
};
|
||||||
|
}
|
@ -14280,6 +14280,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
sphinx-multitoc-numbering = callPackage ../development/python-modules/sphinx-multitoc-numbering { };
|
sphinx-multitoc-numbering = callPackage ../development/python-modules/sphinx-multitoc-numbering { };
|
||||||
|
|
||||||
|
sphinx-multiversion = callPackage ../development/python-modules/sphinx-multiversion { };
|
||||||
|
|
||||||
sphinx-notfound-page = callPackage ../development/python-modules/sphinx-notfound-page { };
|
sphinx-notfound-page = callPackage ../development/python-modules/sphinx-notfound-page { };
|
||||||
|
|
||||||
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
||||||
|
Loading…
Reference in New Issue
Block a user