git.iko.soy/typeable/nixpkgs
on master help sign in
jupyter: init

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

commit359368f76ff02a7f7229f2104d66de7643017f2d authorAugustin Borsu <a.borsu@gmail.com> dateThu 11 Jan 2018, 21:52 (9 years ago) parent16f4076
2 files changed+20
pkgs/applications/editors/jupyter/default.nix+18 pkgs/top-level/all-packages.nix+2
pkgs/applications/editors/jupyter/default.nixnew file+18
@@ -0,0 +1,18 @@
1+# Jupyter notebook with the given kernel definitions
2+
3+{ python3
4+, jupyter-kernel
5+, definitions ? jupyter-kernel.default
6+}:
7+
8+let
9+
10+ jupyterPath = (jupyter-kernel.create { inherit definitions; });
11+
12+in
13+
14+with python3.pkgs; toPythonModule (
15+ notebook.overridePythonAttrs(oldAttrs: {
16+ makeWrapperArgs = ["--set JUPYTER_PATH ${jupyterPath}"];
17+ })
18+)
pkgs/top-level/all-packages.nix+2
@@ -3383,6 +3383,8 @@ with pkgs;
33833383
33843384 jupp = callPackage ../applications/editors/jupp { };
33853385
3386+ jupyter = callPackage ../applications/editors/jupyter { };
3387+
33863388 jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
33873389
33883390 jwhois = callPackage ../tools/networking/jwhois { };