This repository has been archived on 2025-08-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
t14_legacy_config/shenvs/jupyter.nix
2022-05-10 12:45:23 -06:00

30 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
];
}