2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
flit-core,
|
|
|
|
docutils,
|
|
|
|
sphinx,
|
|
|
|
requests,
|
|
|
|
jinja2,
|
2022-08-12 12:06:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-confluencebuilder";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.5.2";
|
2023-11-16 04:20:00 +00:00
|
|
|
format = "pyproject";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-11-16 04:20:00 +00:00
|
|
|
pname = "sphinxcontrib_confluencebuilder";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-FwjjlMTIhAD/v4Ig+uqrJJybdPqpPG+7OMuJwSqWo84=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
sphinx
|
|
|
|
requests
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests are disabled due to a circular dependency on Sphinx
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "sphinxcontrib.confluencebuilder" ];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Confluence builder for sphinx";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "sphinx-build-confluence";
|
2022-08-12 12:06:08 +00:00
|
|
|
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
|
|
|
|
license = licenses.bsd1;
|
|
|
|
maintainers = with maintainers; [ graysonhead ];
|
|
|
|
};
|
|
|
|
}
|