diff --git a/pkgs/development/python-modules/sphinx-hoverxref/default.nix b/pkgs/development/python-modules/sphinx-hoverxref/default.nix index af5f7ad7facc..a476099165d4 100644 --- a/pkgs/development/python-modules/sphinx-hoverxref/default.nix +++ b/pkgs/development/python-modules/sphinx-hoverxref/default.nix @@ -20,8 +20,9 @@ buildPythonPackage rec { pname = "sphinx-hoverxref"; - version = "1.3.0"; - format = "pyproject"; + version = "1.5.0"; + pyproject = true; + outputs = [ "out" "doc" @@ -31,35 +32,37 @@ buildPythonPackage rec { owner = "readthedocs"; repo = "sphinx-hoverxref"; rev = version; - hash = "sha256-DJ+mHu9IeEYEyf/SD+nDNtWpTf6z7tQzG0ogaECDpkU="; + hash = "sha256-JHNJGUkO/HXnnnROYBd1pAcoAEYo6b7eK4tyC+ujc+A="; }; postPatch = '' substituteInPlace docs/conf.py --replace-fail "sphinx-prompt" "sphinx_prompt" ''; - nativeBuildInputs = [ + build-system = [ flit-core + ]; + nativeBuildInputs = [ sphinxHook - sphinx-notfound-page - sphinx-prompt + sphinx-autoapi sphinx-rtd-theme sphinx-tabs + sphinx-prompt sphinx-version-warning - sphinx-autoapi + sphinx-notfound-page sphinxcontrib-bibtex sphinxemoji ]; - propagatedBuildInputs = [ + dependencies = [ sphinx sphinxcontrib-jquery ]; pythonImportsCheck = [ "hoverxref" ]; - meta = with lib; { + meta = { description = "Sphinx extension for creating tooltips on the cross references of the documentation"; longDescription = '' sphinx-hoverxref is a Sphinx extension to show a floating window @@ -70,7 +73,7 @@ buildPythonPackage rec { in there. ''; homepage = "https://github.com/readthedocs/sphinx-hoverxref"; - license = licenses.mit; - maintainers = with maintainers; [ kaction ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ kaction ]; }; }