How can I install locales and gsetting schemas on a nixpkg?

I’be been trying to package my application to the NUR but I’m struggling to find documentation on how exactly to install locales and gsetting schemas when my package is installed. However, the closest I’ve gotten is following how the shortwave package.nix does it but it does not show how it does it since it uses ninja to build the application and I’m using rustPlatform. Is there any guidance on how to accomplish this?

{
  gtk4,
  glib,
  fetchFromGitHub,
  rustPlatform,
  lib,
  pkg-config,
  wrapGAppsHook4,
  ffmpeg,
  sqlite,
  openssl,
  gsettings-desktop-schemas
}:

rustPlatform.buildRustPackage rec {
  pname = "waytrogen";
  version = "0.5.5";
  preferLocalBuild = true;

  src = fetchFromGitHub {
    owner = "nikolaizombie1";
    repo = pname;
    rev = "cfedddbed9a957f5b1fe99af0e3bab0557ef1008";
    hash = "sha256-sDlxufSTXRyX+Cqs4CRUSITpN0IVRwlQTba+YsTWvi0=";
  };

  

  nativeBuildInputs = [ pkg-config glib wrapGAppsHook4 sqlite ];
  buildInputs = [ glib gtk4 ffmpeg sqlite openssl gsettings-desktop-schemas ];
  env = {
    OPENSSL_NO_VENDOR = 1;
  };
  
  cargoHash = "sha256-/UVK0Jv36R0sKnMM+dzC0u/N7diK+8Es72sOMuO72nY=";

  meta = {
    description = "A lightning fast wallpaper setter for Wayland.";
    longDescription = "A GUI wallpaper setter for Wayland that is a spiritual successor for the minimalistic wallpaper changer for X11 nitrogen. Written purely in the Rust programming language. Supports hyprpaper, swaybg, mpvpaper and swww wallpaper changers.";
    homepage = "https://github.com/nikolaizombie1/waytrogen";
    license = lib.licenses.unlicense;
    maintainers = [ ];
  };
}