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

40 lines
748 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
jinja2,
sphinxcontrib-serializinghtml,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-websupport";
version = "1.2.7";
format = "pyproject";
src = fetchPypi {
pname = "sphinxcontrib_websupport";
inherit version;
hash = "sha256-4yKALr/V/nk2jv2GSuuHsGNWauYZEdzLJxTiikXtdWE=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
jinja2
sphinxcontrib-serializinghtml
];
# circular dependency on sphinx
dontCheckRuntimeDeps = true;
doCheck = false;
pythonNamespaces = [ "sphinxcontrib" ];
meta = {
description = "Sphinx API for Web Apps";
homepage = "http://sphinx-doc.org/";
license = lib.licenses.bsd2;
};
}