nixpkgs/pkgs/development/python-modules/sphinxcontrib-websupport/default.nix
2024-05-22 17:32:03 +02:00

40 lines
748 B
Nix

{
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;
};
}