1{ 2 lib, 3 buildPythonPackage, 4 docutils, 5 fetchPypi, 6 flit-core, 7 jinja2, 8 pythonOlder, 9 requests, 10 sphinx, 11}: 12 13buildPythonPackage rec { 14 pname = "sphinxcontrib-confluencebuilder"; 15 version = "2.14.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.9"; 19 20 src = fetchPypi { 21 pname = "sphinxcontrib_confluencebuilder"; 22 inherit version; 23 hash = "sha256-3XWs1SCb6AJpYC3njbBFXsSOebNjRh0Gp1Fqi5E51lI="; 24 }; 25 26 build-system = [ flit-core ]; 27 28 dependencies = [ 29 docutils 30 sphinx 31 requests 32 jinja2 33 ]; 34 35 # Tests are disabled due to a circular dependency on Sphinx 36 doCheck = false; 37 38 pythonImportsCheck = [ "sphinxcontrib.confluencebuilder" ]; 39 40 pythonNamespaces = [ "sphinxcontrib" ]; 41 42 meta = with lib; { 43 description = "Confluence builder for sphinx"; 44 homepage = "https://github.com/sphinx-contrib/confluencebuilder"; 45 changelog = "https://github.com/sphinx-contrib/confluencebuilder/blob/v${version}/CHANGES.rst"; 46 license = licenses.bsd1; 47 maintainers = with maintainers; [ graysonhead ]; 48 mainProgram = "sphinx-build-confluence"; 49 }; 50}