1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, flit-core
6}:
7
8buildPythonPackage rec {
9 pname = "sphinxcontrib-serializinghtml";
10 version = "1.1.9";
11 pyproject = true;
12
13 disabled = pythonOlder "3.9";
14
15 src = fetchPypi {
16 pname = "sphinxcontrib_serializinghtml";
17 inherit version;
18 hash = "sha256-DGT/iYM54frCmr0r9fEQePPsQTz+nARtMSDXymVTC1Q=";
19 };
20
21 nativeBuildInputs = [
22 flit-core
23 ];
24
25 # Check is disabled due to circular dependency of sphinx
26 doCheck = false;
27
28 pythonNamespaces = [ "sphinxcontrib" ];
29
30 meta = with lib; {
31 description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle).";
32 homepage = "https://github.com/sphinx-doc/sphinxcontrib-serializinghtml";
33 license = licenses.bsd2;
34 maintainers = teams.sphinx.members;
35 };
36}