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