Loading pkgs/by-name/si/simple64/package.nix +21 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ hidapi, qt6, vulkan-loader, makeDesktopItem, copyDesktopItems, }: let Loading Loading @@ -51,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: { ninja pkg-config makeWrapper copyDesktopItems # fake git command for version info generator (writeShellScriptBin "git" "echo ${finalAttrs.src.rev}") ]; Loading Loading @@ -84,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $out/share/simple64 $out/bin cp -r simple64/* $out/share/simple64 install -Dm644 ./simple64-gui/icons/simple64.svg -t $out/share/icons/hicolor/scalable/apps/ makeWrapper $out/share/simple64/simple64-gui $out/bin/simple64-gui \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} \ "''${qtWrapperArgs[@]}" Loading @@ -91,6 +96,22 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; desktopItems = [ (makeDesktopItem { name = "simple64"; desktopName = "simple64"; genericName = "Nintendo 64 Emulator"; exec = "simple64-gui"; mimeTypes = [ "application/x-n64-rom" ]; icon = "simple64"; terminal = false; categories = [ "Game" "Emulator" ]; }) ]; meta = { description = "Easy to use N64 emulator"; homepage = "https://simple64.github.io"; Loading Loading
pkgs/by-name/si/simple64/package.nix +21 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ hidapi, qt6, vulkan-loader, makeDesktopItem, copyDesktopItems, }: let Loading Loading @@ -51,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: { ninja pkg-config makeWrapper copyDesktopItems # fake git command for version info generator (writeShellScriptBin "git" "echo ${finalAttrs.src.rev}") ]; Loading Loading @@ -84,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $out/share/simple64 $out/bin cp -r simple64/* $out/share/simple64 install -Dm644 ./simple64-gui/icons/simple64.svg -t $out/share/icons/hicolor/scalable/apps/ makeWrapper $out/share/simple64/simple64-gui $out/bin/simple64-gui \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} \ "''${qtWrapperArgs[@]}" Loading @@ -91,6 +96,22 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; desktopItems = [ (makeDesktopItem { name = "simple64"; desktopName = "simple64"; genericName = "Nintendo 64 Emulator"; exec = "simple64-gui"; mimeTypes = [ "application/x-n64-rom" ]; icon = "simple64"; terminal = false; categories = [ "Game" "Emulator" ]; }) ]; meta = { description = "Easy to use N64 emulator"; homepage = "https://simple64.github.io"; Loading