python3Packages.sphinx-multiversion: init at version 0.2.4 (#311589)
This commit is contained in:
commit
f1e22103a9
@ -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 ];
|
||||
};
|
||||
}
|
@ -14935,6 +14935,8 @@ self: super: with self; {
|
||||
|
||||
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-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
||||
|
Loading…
Reference in New Issue
Block a user