Commit c10aa4e3 authored by Bruno BELANYI's avatar Bruno BELANYI
Browse files

mpvScripts.mpv-cheatsheet-ng: init at 0.1.0

parent f214de98
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
{
  lib,
  buildLua,
  fetchFromGitHub,
  gitUpdater,
}:
buildLua (finalAttrs: {
  pname = "mpv-cheatsheet-ng";
  version = "0.1.0";
  scriptPath = "cheatsheet.lua";

  src = fetchFromGitHub {
    owner = "ambroisie";
    repo = "mpv-cheatsheet-ng";
    tag = "v${finalAttrs.version}";
    hash = "sha256-5CVEf5SPNiYaKKp0tn4zhwUvP5R75HU5/B+l8KCXJNg=";
  };

  passthru.updateScript = gitUpdater { rev-prefix = "v"; };

  meta = {
    description = "mpv script for looking up keyboard shortcuts";
    homepage = "https://github.com/ambroisie/mpv-cheatsheet-ng";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.ambroisie ];
  };
})