5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
49 lines
967 B
Nix
49 lines
967 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flit-core
|
|
, docutils
|
|
, sphinx
|
|
, requests
|
|
, jinja2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-confluencebuilder";
|
|
version = "2.5.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "sphinxcontrib_confluencebuilder";
|
|
inherit version;
|
|
hash = "sha256-FwjjlMTIhAD/v4Ig+uqrJJybdPqpPG+7OMuJwSqWo84=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
docutils
|
|
sphinx
|
|
requests
|
|
jinja2
|
|
];
|
|
|
|
# Tests are disabled due to a circular dependency on Sphinx
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"sphinxcontrib.confluencebuilder"
|
|
];
|
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Confluence builder for sphinx";
|
|
mainProgram = "sphinx-build-confluence";
|
|
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
|
|
license = licenses.bsd1;
|
|
maintainers = with maintainers; [ graysonhead ];
|
|
};
|
|
}
|