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