nixpkgs/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix

49 lines
967 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, docutils
, sphinx
, requests
, jinja2
}:
buildPythonPackage rec {
pname = "sphinxcontrib-confluencebuilder";
version = "2.5.1";
format = "pyproject";
src = fetchPypi {
pname = "sphinxcontrib_confluencebuilder";
inherit version;
hash = "sha256-PQpkwQ95UVJwDGTAq1xdcSvd07FZpZfA/4jq3ywlMas=";
};
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 ];
};
}