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