about summary refs log blame commit diff stats
path: root/pkgs/by-name/mp/mpc-lyrics/package.nix
blob: fdb8c53ad9f4f082ab7a0ea2025d8fb6db45f1b2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                              
                                      
                         
                        
                              



                                  






                               
{
  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
  ];
}