blob: ec3a3adac2cd13b1bac39108475c47429b273bba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
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 ];
};
}
|