jupyter: init

Top-level jupyter package that, given kernel definitions, can be used with
various kernels.
This commit is contained in:
Augustin Borsu 2018-01-11 21:52:29 +01:00 committed by Frederik Rietdijk
parent 16f4076c70
commit 359368f76f
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Jupyter notebook with the given kernel definitions
{ python3
, jupyter-kernel
, definitions ? jupyter-kernel.default
}:
let
jupyterPath = (jupyter-kernel.create { inherit definitions; });
in
with python3.pkgs; toPythonModule (
notebook.overridePythonAttrs(oldAttrs: {
makeWrapperArgs = ["--set JUPYTER_PATH ${jupyterPath}"];
})
)

View file

@ -3383,6 +3383,8 @@ with pkgs;
jupp = callPackage ../applications/editors/jupp { };
jupyter = callPackage ../applications/editors/jupyter { };
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
jwhois = callPackage ../tools/networking/jwhois { };