diff --git a/pkgs/development/python-modules/construct/default.nix b/pkgs/development/python-modules/construct/default.nix index c5d3ff901af5..d09ba5ffb8c4 100644 --- a/pkgs/development/python-modules/construct/default.nix +++ b/pkgs/development/python-modules/construct/default.nix @@ -3,6 +3,7 @@ , arrow , buildPythonPackage , cloudpickle +, cryptography , fetchFromGitHub , lz4 , numpy @@ -36,13 +37,19 @@ buildPythonPackage rec { lz4 ]; + passthru.optional-dependencies = { + extras = [ + arrow + cloudpickle + cryptography + numpy + ruamel-yaml + ]; + }; + nativeCheckInputs = [ pytestCheckHook - numpy - arrow - ruamel-yaml - cloudpickle - ]; + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); pythonImportsCheck = [ "construct"