diff --git a/pkgs/games/grapejuice/default.nix b/pkgs/games/grapejuice/default.nix deleted file mode 100644 index 9c2c8a594388..000000000000 --- a/pkgs/games/grapejuice/default.nix +++ /dev/null @@ -1,138 +0,0 @@ -{ lib -, fetchFromGitLab -, gobject-introspection -, pciutils -, python3Packages -, gtk3 -, wrapGAppsHook3 -, glib -, cairo -, desktop-file-utils -, xdg-utils -, xdg-user-dirs -, gettext -, winetricks -, wine -, glxinfo -, xrandr -, bash -}: - -python3Packages.buildPythonApplication rec { - pname = "grapejuice"; - version = "7.20.11"; - - src = fetchFromGitLab { - owner = "BrinkerVII"; - repo = "grapejuice"; - rev = "v${version}"; - hash = "sha256-sDw67Xseeak1v5x0daznfdeNQahDTj21AVvXmuZlsgg="; - }; - - nativeBuildInputs = [ - gobject-introspection - desktop-file-utils - glib - wrapGAppsHook3 - python3Packages.pip - ]; - - buildInputs = [ - cairo - gettext - gtk3 - bash - ]; - - propagatedBuildInputs = with python3Packages; [ - psutil - dbus-python - pygobject3 - packaging - wheel - setuptools - requests - unidecode - click - pydantic - ]; - - dontWrapGApps = true; - - makeWrapperArgs = [ - "--prefix PATH : ${lib.makeBinPath [ xdg-user-dirs wine winetricks pciutils glxinfo xrandr ]}" - # make xdg-open overrideable at runtime - "--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}" - ]; - - postPatch = '' - substituteInPlace src/grapejuice_common/assets/desktop/grapejuice.desktop \ - --replace \$GRAPEJUICE_EXECUTABLE "$out/bin/grapejuice" \ - --replace \$GRAPEJUICE_GUI_EXECUTABLE "$out/bin/grapejuice-gui" \ - --replace \$GRAPEJUICE_ICON grapejuice - - substituteInPlace src/grapejuice_common/assets/desktop/roblox-player.desktop \ - --replace \$GRAPEJUICE_EXECUTABLE "$out/bin/grapejuice" \ - --replace \$PLAYER_ICON "grapejuice-roblox-player" - - substituteInPlace src/grapejuice_common/assets/desktop/roblox-app.desktop \ - --replace \$GRAPEJUICE_EXECUTABLE "$out/bin/grapejuice" \ - --replace \$PLAYER_ICON "grapejuice-roblox-player" - - substituteInPlace src/grapejuice_common/assets/desktop/roblox-studio.desktop src/grapejuice_common/assets/desktop/roblox-studio-auth.desktop \ - --replace \$GRAPEJUICE_EXECUTABLE "$out/bin/grapejuice" \ - --replace \$STUDIO_ICON "grapejuice-roblox-studio" - - substituteInPlace src/grapejuice_common/paths.py \ - --replace 'return local_share() / "locale"' 'return Path("${placeholder "out"}/share/locale")' - - substituteInPlace src/grapejuice_common/models/settings_model.py \ - --replace 'default_wine_home: Optional[str] = ""' 'default_wine_home: Optional[str] = "${wine}"' - - substituteInPlace src/grapejuice_packaging/builders/linux_package_builder.py \ - --replace '"--no-dependencies",' '"--no-dependencies", "--no-build-isolation",' - - substituteInPlace src/grapejuice_packaging/packaging_resources/bin/grapejuice src/grapejuice_packaging/packaging_resources/bin/grapejuice-gui \ - --replace "/usr/bin/env python3" "${python3Packages.python.interpreter}" - ''; - - installPhase = '' - runHook preInstall - - PYTHONPATH=$(pwd)/src:$PYTHONPATH python3 -m grapejuice_packaging linux_package - - mkdir -p "$out" "$out/${python3Packages.python.sitePackages}" - tar -xvf ./dist/linux_package/grapejuice-''${version}.tar.gz --strip-components=1 -C "$out" - - mv "$out/lib/python3/dist-packages/"* "$out/${python3Packages.python.sitePackages}" - rmdir --ignore-fail-on-non-empty -p "$out/lib/python3/dist-packages" - - runHook postInstall - ''; - - postFixup = '' - patchShebangs "$out/bin/grapejuice{,-gui}" - - buildPythonPath "$out $pythonPath" - - for bin in grapejuice grapejuice-gui; do - wrapProgram "$out/bin/$bin" \ - --prefix PYTHONPATH : "$PYTHONPATH:$(toPythonPath $out)" \ - ''${makeWrapperArgs[@]} \ - ''${gappsWrapperArgs[@]} - done - ''; - - # No tests - doCheck = false; - - pythonImportsCheck = [ "grapejuice" ]; - - meta = with lib; { - homepage = "https://gitlab.com/brinkervii/grapejuice"; - description = "Simple Wine+Roblox management tool"; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ artturin helium ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 9047b4aa5620..760b4e005f7a 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -605,6 +605,7 @@ mapAliases ({ gradle_5 = throw "gradle_5 has been removed because it's no longer being updated"; # Added 2023-01-17 grafana_reporter = grafana-reporter; # Added 2024-06-09 gr-ais = throw "'gr-ais' has been renamed to/replaced by 'gnuradio3_7.pkgs.ais'"; # Converted to throw 2023-09-10 + grapefruit = throw "'grapefruit' was removed due to being blocked by Roblox, rendering the package useless"; # Added 2024-08-23 graylog = throw "graylog is now available in versions 3.3 up to 5.0. Please mind the upgrade path and choose the appropriate version. Direct upgrading from 3.3 to 4.3 or above is not supported"; # Added 2023-04-24 graylog-3_3 = throw "graylog 3.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 3.x to latest series."; # Added 2023-10-09 graylog-4_0 = throw "graylog 4.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 4.x to latest series."; # Added 2023-10-09 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bef93fba0cb7..9e47b588b35b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35785,10 +35785,6 @@ with pkgs; qtads = qt5.callPackage ../games/qtads { }; - grapejuice = callPackage ../games/grapejuice { - wine = wineWowPackages.unstable; - }; - graphwar = callPackage ../games/graphwar { }; gtypist = callPackage ../games/gtypist { };