jupyter: init
Top-level jupyter package that, given kernel definitions, can be used with various kernels.
This commit is contained in:
parent
16f4076c70
commit
359368f76f
18
pkgs/applications/editors/jupyter/default.nix
Normal file
18
pkgs/applications/editors/jupyter/default.nix
Normal 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}"];
|
||||||
|
})
|
||||||
|
)
|
@ -3383,6 +3383,8 @@ with pkgs;
|
|||||||
|
|
||||||
jupp = callPackage ../applications/editors/jupp { };
|
jupp = callPackage ../applications/editors/jupp { };
|
||||||
|
|
||||||
|
jupyter = callPackage ../applications/editors/jupyter { };
|
||||||
|
|
||||||
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
|
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
|
||||||
|
|
||||||
jwhois = callPackage ../tools/networking/jwhois { };
|
jwhois = callPackage ../tools/networking/jwhois { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user