nix-jupyter/jupyter.nix

21 lines
339 B
Nix
Raw Normal View History

{
pkgs,
kernel,
python ? pkgs.python3,
}:
pkgs.mkShellNoCC {
nativeBuildInputs = [
(python.withPackages (ps:
with ps; [
jupyterlab
jupyterlab-git
nbdime
nbconvert
(ps.callPackage ./catppuccin_jupyterlab {})
]))
];
shellHook = ''
export JUPYTER_PATH=${kernel}
'';
}