depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

50 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
docutils,
fetchPypi,
flit-core,
jinja2,
pythonOlder,
requests,
sphinx,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-confluencebuilder";
version = "2.7.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "sphinxcontrib_confluencebuilder";
inherit version;
hash = "sha256-Tj9m0TcPkg+FIWwYixahpox27Yn+0tXPppwb5EwmBk0=";
};
build-system = [ flit-core ];
dependencies = [
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";
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
changelog = "https://github.com/sphinx-contrib/confluencebuilder/blob/v${version}/CHANGES.rst";
license = licenses.bsd1;
maintainers = with maintainers; [ graysonhead ];
mainProgram = "sphinx-build-confluence";
};
}