{ pkgs, ... }:
let
  pythonEnv = (
    pkgs.python312.withPackages (
      ps: with ps; [
        python-lsp-server
        isort
        flake8
        mypy
        numpy
        xarray
        netcdf4
        matplotlib
      ]
    )
  );
in
{
  home.packages = [
    pkgs.ruff
    pythonEnv
  ];
  xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
}