From 3bb2ac5adfb3f2bceba113f011212aa35b199348 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 12 Dec 2021 19:38:40 -0400 Subject: [PATCH] python3.pkgs.beautifulsoup4: build offline html documentation --- pkgs/development/python-modules/beautifulsoup4/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/beautifulsoup4/default.nix b/pkgs/development/python-modules/beautifulsoup4/default.nix index d75351839aa2..2a59ac00f7aa 100644 --- a/pkgs/development/python-modules/beautifulsoup4/default.nix +++ b/pkgs/development/python-modules/beautifulsoup4/default.nix @@ -6,12 +6,14 @@ , pytestCheckHook , pythonOlder , soupsieve +, sphinxHook }: buildPythonPackage rec { pname = "beautifulsoup4"; version = "4.11.1"; format = "setuptools"; + outputs = ["out" "doc"]; disabled = pythonOlder "3.6"; @@ -29,6 +31,7 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook ]; + nativeBuildInputs = [ sphinxHook ]; pythonImportsCheck = [ "bs4"