Unverified Commit 57e033c7 authored by Anton Mosich's avatar Anton Mosich
Browse files

sphinx-click: init at 6.0.0

parent d7356ad0
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  sphinxHook,
  # Build system
  pbr,
  setuptools,
  # Dependencies
  click,
  docutils,
  sphinx,
  # Checks
  pytestCheckHook,
  defusedxml,
}:

buildPythonPackage rec {
  pname = "sphinx-click";
  version = "6.0.0";
  pyproject = true;

  build-system = [
    pbr
    setuptools
  ];

  nativeBuildInputs = [
    sphinxHook
  ];

  dependencies = [
    click
    docutils
    sphinx
  ];

  nativeCheckInputs = [
    pytestCheckHook
    defusedxml
  ];

  pythonImportsCheck = [
    "sphinx_click"
  ];

  src = fetchPypi {
    inherit version;
    pname = "sphinx_click";
    hash = "sha256-9dZkMh3AxmIv8Bnx4chOWM4M7P3etRDgBM9gwqOrRls=";
  };

  meta = {
    description = "Sphinx extension that automatically documents click applications";
    homepage = "https://github.com/click-contrib/sphinx-click";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ antonmosich ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14909,6 +14909,8 @@ self: super: with self; {
  sphinx-book-theme = callPackage ../development/python-modules/sphinx-book-theme { };
  sphinx-click = callPackage ../development/python-modules/sphinx-click { };
  sphinx-codeautolink = callPackage ../development/python-modules/sphinx-codeautolink { };
  sphinx-comments = callPackage ../development/python-modules/sphinx-comments { };