nixpkgs-suyu/pkgs/applications/science/math/wolfram-engine/notebook.nix
Federico Beffa 55a070a616 wolfram-for-jupyter-kernel: init at 0.9.2
Also, add a script 'wolfram-notebook' to easily start a jupyter
notebook for working with the Wolfram Engine.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-04-11 11:54:09 +02:00

9 lines
299 B
Nix

{ lib, stdenv, writeScriptBin, jupyter, wolfram-for-jupyter-kernel }:
let
wolfram-jupyter = jupyter.override { definitions = { wolfram = wolfram-for-jupyter-kernel.definition; }; };
in
writeScriptBin "wolfram-notebook" ''
#! ${stdenv.shell}
${wolfram-jupyter}/bin/jupyter-notebook
''