about summary refs log tree commit diff
path: root/pkgs/games/grapejuice
diff options
context:
space:
mode:
authorTheNexusAvenger <13441476+TheNexusAvenger@users.noreply.github.com>2023-08-18 20:05:39 -0400
committerTheNexusAvenger <13441476+TheNexusAvenger@users.noreply.github.com>2023-08-18 22:16:52 -0400
commitdc340b88601fa927baa84bfc3854134a1c3ad639 (patch)
tree7566d84ec6b968e150da81e59aef52f320f1eed7 /pkgs/games/grapejuice
parentd3430521cf54218f1037a167d7a62f86e29a88bf (diff)
grapejuice: 7.8.3 -> 7.14.4
Update Grapejuice for easy release channel changing (mainly zintegration).
Changelogs: https://gitlab.com/brinkervii/grapejuice/-/tags

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
Diffstat (limited to 'pkgs/games/grapejuice')
-rw-r--r--pkgs/games/grapejuice/default.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/games/grapejuice/default.nix b/pkgs/games/grapejuice/default.nix
index 629ecac05647c..bd1c7218e7934 100644
--- a/pkgs/games/grapejuice/default.nix
+++ b/pkgs/games/grapejuice/default.nix
@@ -19,13 +19,13 @@
 
 python3Packages.buildPythonApplication rec  {
   pname = "grapejuice";
-  version = "7.8.3";
+  version = "7.14.4";
 
   src = fetchFromGitLab {
     owner = "BrinkerVII";
     repo = "grapejuice";
     rev = "v${version}";
-    sha256 = "sha256-jNh3L6JDuJryFpHQaP8UesBmepmJopoHxb/XUfOwZz4=";
+    hash = "sha256-CWTnofJXx9T/hGXx3rdephXHjpiVRdFEJQ1u2v6n7yo=";
   };
 
   nativeBuildInputs = [
@@ -86,6 +86,16 @@ python3Packages.buildPythonApplication rec  {
 
     substituteInPlace src/grapejuice_common/models/settings_model.py \
       --replace 'default_wine_home: Optional[str] = ""' 'default_wine_home: Optional[str] = "${wine}"'
+
+    # Removed in 7.10.3. Required to set up the binary files.
+   substituteInPlace setup.py \
+      --replace 'install_requires=install_requires(),' 'install_requires=install_requires(),
+        entry_points={
+            "console_scripts": [
+                "grapejuice=grapejuice.cli.main:easy_install_main",
+                "grapejuice-gui=grapejuice.cli.gui:easy_install_main"
+            ]
+        },'
   '';
 
   postInstall = ''