31 lines
718 B
Nix
31 lines
718 B
Nix
pkgs: {
|
|
paths = with pkgs;
|
|
let
|
|
python3 = python39.withPackages ( ps: with ps; [
|
|
matplotlib
|
|
numpy
|
|
scipy
|
|
sympy
|
|
]);
|
|
jupyterPath = jupyter-kernel.create { definitions = {
|
|
octave = octave-kernel.definition;
|
|
};};
|
|
in
|
|
[
|
|
(jupyter.override {
|
|
definitions = {
|
|
octave = let
|
|
withPackages = pkgs.octave.withPackages (ps: with ps; [
|
|
symbolic
|
|
]);
|
|
octave = withPackages.overrideAttrs (super: { inherit (pkgs.octave) version src; });
|
|
kernel = octave-kernel.override { inherit octave; };
|
|
in kernel.definition;
|
|
};
|
|
inherit python3;
|
|
})
|
|
gnuplot
|
|
ghostscript
|
|
];
|
|
}
|