Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 flit-core, 7}: 8 9buildPythonPackage rec { 10 pname = "sphinxcontrib-serializinghtml"; 11 version = "1.1.10"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchPypi { 17 pname = "sphinxcontrib_serializinghtml"; 18 inherit version; 19 hash = "sha256-k/P13EWLkbGS/hDDl+Mk8mLPFj158ygsFY6ENqLEUR8="; 20 }; 21 22 nativeBuildInputs = [ flit-core ]; 23 24 # Check is disabled due to circular dependency of sphinx 25 dontCheckRuntimeDeps = true; 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}