jupyter: init

Top-level jupyter package that, given kernel definitions, can be used with
various kernels.

Changed files
+20
pkgs
applications
editors
jupyter
top-level
+18
pkgs/applications/editors/jupyter/default.nix
···
+
# 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}"];
+
})
+
)
+2
pkgs/top-level/all-packages.nix
···
jupp = callPackage ../applications/editors/jupp { };
+
jupyter = callPackage ../applications/editors/jupyter { };
+
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
jwhois = callPackage ../tools/networking/jwhois { };