plugins/molten: add python3 dependencies

This commit is contained in:
Gaetan Lepage
2024-03-12 22:39:45 +01:00
committed by Gaétan Lepage
parent 6a414ea2cd
commit becfe75a67
+28
View File
@@ -191,4 +191,32 @@ with helpers.vim-plugin;
wrap_output = false;
show_mimetype_debug = false;
};
extraOptions = {
python3Dependencies = mkOption {
type = with types; functionTo (listOf package);
default = p:
with p; [
pynvim
jupyter-client
cairosvg
ipython
nbformat
];
defaultText = literalExpression ''
p: with p; [
pynvim
jupyter-client
cairosvg
ipython
nbformat
]
'';
description = "Python packages to add to the `PYTHONPATH` of neovim.";
};
};
extraConfig = cfg: {
extraPython3Packages = cfg.python3Dependencies;
};
}