depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-serializinghtml/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

37 lines
874 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, flit-core
}:
buildPythonPackage rec {
pname = "sphinxcontrib-serializinghtml";
version = "1.1.9";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "sphinxcontrib_serializinghtml";
inherit version;
hash = "sha256-DGT/iYM54frCmr0r9fEQePPsQTz+nARtMSDXymVTC1Q=";
};
nativeBuildInputs = [
flit-core
];
# Check is disabled due to circular dependency of sphinx
dontCheckRuntimeDeps = true;
doCheck = false;
pythonNamespaces = [ "sphinxcontrib" ];
meta = with lib; {
description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle).";
homepage = "https://github.com/sphinx-doc/sphinxcontrib-serializinghtml";
license = licenses.bsd2;
maintainers = teams.sphinx.members;
};
}