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