python3.pkgs.icalendar: build offline documentation

This commit is contained in:
Dmitry Bogatov
2025-10-03 21:25:32 +00:00
parent 0ae547b195
commit 1bb0ec5adc
@@ -9,12 +9,19 @@
tzdata,
hypothesis,
pytestCheckHook,
sphinxHook,
sphinx-copybutton,
pydata-sphinx-theme,
}:
buildPythonPackage rec {
version = "6.3.1";
pname = "icalendar";
pyproject = true;
outputs = [
"out"
"doc"
];
src = fetchFromGitHub {
owner = "collective";
@@ -39,6 +46,12 @@ buildPythonPackage rec {
tzdata
];
nativeBuildInputs = [
sphinxHook
sphinx-copybutton
pydata-sphinx-theme
];
nativeCheckInputs = [
hypothesis
pytestCheckHook