8 buildLua (finalAttrs: {
9 pname = "mpv-osc-modern";
12 scriptPath = "modern.lua";
13 src = fetchFromGitHub {
15 repo = "mpv-osc-modern";
16 rev = "v${finalAttrs.version}";
17 hash = "sha256-RMUy8UpSRSCEPAbnGLpJ2NjDsDdkjq8cNsdGwsQ5ANU=";
21 mkdir -p $out/share/fonts
22 cp -r *.ttf $out/share/fonts
24 passthru.extraWrapperArgs = [
27 (toString (makeFontsConf {
28 fontDirectories = [ "${finalAttrs.finalPackage}/share/fonts" ];
32 passthru.updateScript = nix-update-script { };
35 description = "Another MPV OSC Script";
36 homepage = "https://github.com/maoiscat/mpv-osc-modern";
37 license = licenses.lgpl21Plus;
38 maintainers = with maintainers; [ Guanran928 ];