2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-11-16 04:20:00 +00:00
|
|
|
, flit-core
|
2022-08-12 12:06:08 +00:00
|
|
|
, docutils
|
|
|
|
, sphinx
|
|
|
|
, requests
|
|
|
|
, jinja2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-confluencebuilder";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.3.0";
|
|
|
|
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;
|
|
|
|
hash = "sha256-Zpe2n131afnq4IhQEEZtquvSEkkjv/uznXt2tQhGfZA=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
flit-core
|
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"sphinxcontrib.confluencebuilder"
|
|
|
|
];
|
|
|
|
|
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";
|
|
|
|
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
|
|
|
|
license = licenses.bsd1;
|
|
|
|
maintainers = with maintainers; [ graysonhead ];
|
|
|
|
};
|
|
|
|
}
|