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

47 lines
965 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
docutils,
sphinx,
requests,
jinja2,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-confluencebuilder";
version = "2.5.2";
format = "pyproject";
src = fetchPypi {
pname = "sphinxcontrib_confluencebuilder";
inherit version;
hash = "sha256-FwjjlMTIhAD/v4Ig+uqrJJybdPqpPG+7OMuJwSqWo84=";
};
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 ];
};
}