python3.pkgs.wrapt: build offline documentation

X-Reverse-Dependencies: python3.pkgs.aiobotocore
This commit is contained in:
Dmitry Bogatov 2023-01-02 01:47:17 -05:00 committed by Yt
parent 3270c13879
commit 27ce8eb0d1

View File

@ -2,11 +2,14 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, sphinxHook
, sphinx-rtd-theme
}:
buildPythonPackage rec {
pname = "wrapt";
version = "1.14.1";
outputs = [ "out" "doc" ];
format = "setuptools";
src = fetchFromGitHub {
@ -20,6 +23,11 @@ buildPythonPackage rec {
pytestCheckHook
];
nativeBuildInputs = [
sphinxHook
sphinx-rtd-theme
];
pythonImportsCheck = [
"wrapt"
];