{
  sysLib,
  exiftool,
  mpc-cli,
  jq,
  less,
  locale, # dependency of less
  mpd_music_dir ? "\${XDG_MUSIC_DIR}",
}:
sysLib.writeShellScript {
  name = "mpc-lyrics";
  src = ./mpc-lyrics.sh;
  generateCompletions = false;
  keepPath = false;

  replacementStrings = {
    MPD_MUSIC_DIR = mpd_music_dir;
  };

  dependencies = [
    exiftool
    mpc-cli
    jq
    less
    locale # dependency of less
  ];
}