python3.pkgs.pynacl: build offline documentation

This commit is contained in:
Dmitry Bogatov 2023-01-05 21:16:13 -05:00 committed by Yt
parent 976e1e4cce
commit 9b8a0e5f7a

View File

@ -3,6 +3,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, sphinxHook
, pythonOlder
, libsodium
, cffi
@ -12,6 +13,7 @@
buildPythonPackage rec {
pname = "pynacl";
version = "1.5.0";
outputs = [ "out" "doc" ];
format = "setuptools";
disabled = pythonOlder "3.6";
@ -22,6 +24,10 @@ buildPythonPackage rec {
sha256 = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba";
};
nativeBuildInputs = [
sphinxHook
];
buildInputs = [
libsodium
];