nixos/system/home/programming/python/default.nix

22 lines
352 B
Nix

{ pkgs, ... }:
# MPLBACKEND
{
home.packages = with pkgs; [
(python3.withPackages (
ps: with ps; [
python-lsp-server
pylsp-rope
rope
mypy
pyyaml
numpy
xarray
netcdf4
matplotlib
]
))
ruff
];
xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
}