1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, flit-core
5, sphinx
6}:
7
8buildPythonPackage rec {
9 pname = "sphinx-inline-tabs";
10 version = "2023.04.21";
11 format = "pyproject";
12
13 src = fetchFromGitHub {
14 owner = "pradyunsg";
15 repo = "sphinx-inline-tabs";
16 rev = version;
17 hash = "sha256-1oZheHDNOQU0vWL3YClQrJe94WyUJ72bCAF1UKtjJ0w=";
18 };
19
20 nativeBuildInputs = [
21 flit-core
22 ];
23
24 propagatedBuildInputs = [
25 sphinx
26 ];
27
28 # no tests, see https://github.com/pradyunsg/sphinx-inline-tabs/issues/6
29 doCheck = false;
30
31 pythonImportsCheck = [ "sphinx_inline_tabs" ];
32
33 meta = with lib; {
34 description = "Add inline tabbed content to your Sphinx documentation";
35 homepage = "https://github.com/pradyunsg/sphinx-inline-tabs";
36 license = licenses.mit;
37 maintainers = with maintainers; [ Luflosi ];
38 };
39}