python3Packages.sphinx-multiversion: init at version 0.2.4 (#311589)

This commit is contained in:
Sandro 2024-11-12 19:13:01 +01:00 committed by GitHub
commit f1e22103a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

View File

@ -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 ];
};
}

View File

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