Unverified Commit f64864d4 authored by Rémi NICOLE's avatar Rémi NICOLE Committed by GitHub
Browse files

python3Packages.sphinx-tippy: init at 0.4.3 (#406963)

parents 9dffc883 12ed9e23
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flit-core,
  beautifulsoup4,
  jinja2,
  requests,
  sphinx,
  sphinxHook,
  furo,
  myst-parser,
}:

buildPythonPackage rec {
  pname = "sphinx-tippy";
  version = "0.4.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "sphinx-extensions2";
    repo = pname;
    tag = "v${version}";
    hash = "sha256-+EXvj8Q6eMu51Gh4hLD6h8I7PDZaeVH+2pZuQUMVH+4=";
  };

  build-system = [
    flit-core
  ];

  nativeBuildInputs = [
    sphinxHook
    furo
    myst-parser
  ];

  dependencies = [
    beautifulsoup4
    jinja2
    requests
    sphinx
  ];

  pythonImportsCheck = [
    "sphinx_tippy"
  ];

  meta = {
    description = "Get rich tool tips in your sphinx documentation";
    homepage = "https://sphinx-tippy.readthedocs.io/en/latest/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ minijackson ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -17190,6 +17190,8 @@ self: super: with self; {
  sphinx-thebe = callPackage ../development/python-modules/sphinx-thebe { };
  sphinx-tippy = callPackage ../development/python-modules/sphinx-tippy { };
  sphinx-togglebutton = callPackage ../development/python-modules/sphinx-togglebutton { };
  sphinx-version-warning = callPackage ../development/python-modules/sphinx-version-warning { };