24 # Affects final license
25 , withAngrylionRdpPlus ? false
29 inherit (qt6Packages) qtbase qtsvg qtwayland wrapQtAppsHook;
31 stdenv.mkDerivation rec {
35 src = fetchFromGitHub {
39 hash = "sha256-3Bl9SEHWQbi58VPpCT4H8TC1E5J5j4lRXS1QF+udPdg=";
66 ] ++ lib.optional withWayland qtwayland;
69 "-DPORTABLE_INSTALL=OFF"
70 # mupen64plus-input-gca is written in Rust, so we can't build it with
73 "-DUSE_ANGRYLION=${lib.boolToString withAngrylionRdpPlus}"
76 qtWrapperArgs = lib.optionals stdenv.hostPlatform.isLinux [
77 "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]}"
78 ] ++ lib.optional withWayland "--set RMG_WAYLAND 1";
80 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
83 homepage = "https://github.com/Rosalie241/RMG";
84 description = "Rosalie's Mupen GUI";
86 Rosalie's Mupen GUI is a free and open-source mupen64plus front-end
87 written in C++. It offers a simple-to-use user interface.
89 license = if withAngrylionRdpPlus then licenses.unfree else licenses.gpl3Only;
90 platforms = platforms.linux;
92 maintainers = with maintainers; [ slam-bert ];