depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-inline-tabs/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

34 lines
782 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-inline-tabs";
version = "2021.08.17.beta10";
format = "flit";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = "sphinx-inline-tabs";
rev = version;
sha256 = "sha256-T3OqK0eXNiBs2zQURCSPLc8aIyf2an32UyDh4qSmxQ4=";
};
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 ];
};
}