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

49 lines
922 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, docutils
, sphinx
, requests
, jinja2
}:
buildPythonPackage rec {
pname = "sphinxcontrib-confluencebuilder";
version = "2.3.0";
format = "pyproject";
src = fetchPypi {
pname = "sphinxcontrib_confluencebuilder";
inherit version;
hash = "sha256-Zpe2n131afnq4IhQEEZtquvSEkkjv/uznXt2tQhGfZA=";
};
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";
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
license = licenses.bsd1;
maintainers = with maintainers; [ graysonhead ];
};
}