{
  pkgs,
  ...
}:

{
  packages = [
    pkgs.air
    pkgs.bashInteractive
    pkgs.cargo-llvm-cov
    pkgs.cmark
    pkgs.go-task
    pkgs.jarl
    pkgs.llvmPackages.bintools
    pkgs.pandoc
    pkgs.quartoMinimal
    pkgs.ruff
    pkgs.shfmt
    pkgs.wasm-pack
    pkgs.yamlfmt
    (pkgs.rWrapper.override {
      packages = with pkgs.rPackages; [
        knitr
        rmarkdown
        bookdown
      ];
    })
  ];

  languages.rust = {
    enable = true;
  };

  git-hooks = {
    hooks = {
      clippy = {
        enable = true;
        settings = {
          allFeatures = true;
        };
      };

      rustfmt = {
        enable = true;
      };

      panache-format = {
        enable = true;

        name = "panache format";

        entry = "panache format";

        language = "system";

        files = "\.(qmd|md|Rmd)$";

        excludes = [
          "^(pandoc|assets|tests)"
          "docs/cli.qmd"
        ];
      };
    };
  };
}
