Clean out some packages from prog/default.nix

Remove default install of rustc and JS, trim python packages down to
jupyter with plugins. Move back to a nix-shell focused workflow
This commit is contained in:
Evie Litherland-Smith 2024-03-27 14:52:02 +00:00
parent 01dbdd0259
commit 1a10a39900

View file

@ -5,43 +5,30 @@
nil nil
alejandra alejandra
# Shell
shfmt
shellcheck
# Lua # Lua
(luajit.withPackages (ps: [(ps.callPackage ./luarocks/scilua.nix {})])) (luajit.withPackages (ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
luarocks-nix luarocks-nix
lua-language-server lua-language-server
stylua stylua
# Python
(python3.withPackages
(ps:
with ps; [
python-lsp-server
mypy
jupyterlab
jupyterlab-git
(callPackage ./catppuccin_jupyterlab/default.nix {})
]))
ruff
# Fortran # Fortran
gfortran gfortran
fortls fortls
# Rust toolchain # Python
rustc ruff
rust-analyzer
cargo
rustfmt
clippy
# JavaScript / TypeScript ## Python - JupyterLab
nodejs (python3.withPackages
nodePackages.typescript-language-server (ps:
nodePackages.eslint with ps; [
jupyterlab
# Shell and misc jupyterlab-git
shfmt (callPackage ./catppuccin_jupyterlab/default.nix {})
shellcheck ]))
nodePackages.prettier
]; ];
} }