2021-08-05 21:33:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, sphinx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-inline-tabs";
|
2022-01-23 02:10:13 +00:00
|
|
|
version = "2022.01.02.beta11";
|
2021-08-05 21:33:18 +00:00
|
|
|
format = "flit";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pradyunsg";
|
|
|
|
repo = "sphinx-inline-tabs";
|
|
|
|
rev = version;
|
2022-01-23 02:10:13 +00:00
|
|
|
sha256 = "sha256-k2nOidUk87EZbFsqQ7zr/4eHk+T7wUOYimjbllfneUM=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests, see https://github.com/pradyunsg/sphinx-inline-tabs/issues/6
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinx_inline_tabs" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Add inline tabbed content to your Sphinx documentation";
|
|
|
|
homepage = "https://github.com/pradyunsg/sphinx-inline-tabs";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ Luflosi ];
|
|
|
|
};
|
|
|
|
}
|