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

37 lines
790 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
flit-core,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-htmlhelp";
version = "2.0.5";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "sphinxcontrib_htmlhelp";
inherit version;
hash = "sha256-Dch2N9XeU91e7DpqAXU7HM+ZSUvXVqr+zXS0+p5ykBU=";
};
nativeBuildInputs = [ flit-core ];
# Check is disabled due to circular dependency of sphinx
dontCheckRuntimeDeps = true;
doCheck = false;
pythonNamespaces = [ "sphinxcontrib" ];
meta = with lib; {
description = "Sphinx extension which renders HTML help files";
homepage = "https://github.com/sphinx-doc/sphinxcontrib-htmlhelp";
license = licenses.bsd2;
maintainers = teams.sphinx.members;
};
}