8 buildLua (finalAttrs: {
9 pname = "modernx-zydezu";
12 scriptPath = "modernx.lua";
13 src = fetchFromGitHub {
16 rev = finalAttrs.version;
17 hash = "sha256-wjBFI69lcsVY3HDXyz1VV5IkQvkJQQfMbGwUYmwlJ9w=";
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 = "Modern OSC UI replacement for MPV that retains the functionality of the default OSC";
36 changelog = "https://github.com/zydezu/ModernX/releases/tag/${finalAttrs.version}";
37 homepage = "https://github.com/zydezu/ModernX";
38 license = lib.licenses.lgpl21Plus;
39 maintainers = with lib.maintainers; [