btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / sphinxcontrib-websupport / default.nix
bloba30a5a980905766b50d956905bf31e13ac4988f8
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   flit-core,
6   jinja2,
7   sphinxcontrib-serializinghtml,
8 }:
10 buildPythonPackage rec {
11   pname = "sphinxcontrib-websupport";
12   version = "1.2.7";
13   format = "pyproject";
15   src = fetchPypi {
16     pname = "sphinxcontrib_websupport";
17     inherit version;
18     hash = "sha256-4yKALr/V/nk2jv2GSuuHsGNWauYZEdzLJxTiikXtdWE=";
19   };
21   nativeBuildInputs = [ flit-core ];
23   propagatedBuildInputs = [
24     jinja2
25     sphinxcontrib-serializinghtml
26   ];
28   # circular dependency on sphinx
29   dontCheckRuntimeDeps = true;
30   doCheck = false;
32   pythonNamespaces = [ "sphinxcontrib" ];
34   meta = {
35     description = "Sphinx API for Web Apps";
36     homepage = "http://sphinx-doc.org/";
37     license = lib.licenses.bsd2;
38   };