1 # Options that can be used for creating a jupyter kernel.
9 displayName = mkOption {
12 example = literalExpression ''
14 "Python 3 for Data Science"
16 description = lib.mdDoc ''
17 Name that will be shown to the user.
22 type = types.listOf types.str;
24 "{customEnv.interpreter}"
30 description = lib.mdDoc ''
31 Command and arguments to start the kernel.
38 description = lib.mdDoc ''
39 Language of the environment. Typically the name of the binary.
44 type = types.nullOr types.path;
46 example = literalExpression ''"''${env.sitePackages}/ipykernel/resources/logo-32x32.png"'';
47 description = lib.mdDoc ''
48 Path to 32x32 logo png.
52 type = types.nullOr types.path;
54 example = literalExpression ''"''${env.sitePackages}/ipykernel/resources/logo-64x64.png"'';
55 description = lib.mdDoc ''
56 Path to 64x64 logo png.
60 extraPaths = mkOption {
61 type = types.attrsOf types.path;
63 example = literalExpression ''"{ examples = ''${env.sitePack}/IRkernel/kernelspec/kernel.js"; }'';
64 description = lib.mdDoc ''
65 Extra paths to link in kernel directory