Commit 286f6dc3 authored by KSJ2000's avatar KSJ2000
Browse files

renpy: 8.3.4.24120703 -> 8.3.6.25022803

parent 8b553f3e
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  makeWrapper,
  nix-update-script,
  pkg-config,
  python311,
  python3Full,
  SDL2,
  stdenv,
  versionCheckHook,
@@ -21,25 +21,23 @@
}:

let
  python = python311;
  python = python3Full;
in
stdenv.mkDerivation (finalAttrs: {
  pname = "renpy";
  version = "8.3.4.24120703";
  version = "8.3.6.25022803";

  src = fetchFromGitHub {
    owner = "renpy";
    repo = "renpy";
    tag = finalAttrs.version;
    hash = "sha256-9f1ptw+6OQ2rMytwPZPtUd+K/ihnVKHUiELs22iTTqE=";
    hash = "sha256-ibWbYf+e8PZ8ZxLHVPLzHBS0qf+eLzJasJJFHxXlCfk=";
  };

  nativeBuildInputs = [
    makeWrapper
    pkg-config
    # Ren'Py currently does not compile on Cython 3.x.
    # See https://github.com/renpy/renpy/issues/5359
    python.pkgs.cython_0
    python.pkgs.cython
    python.pkgs.setuptools
  ];

@@ -120,7 +118,9 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  env.NIX_CFLAGS_COMPILE = "-I${python.pkgs.pygame-sdl2}/include/${python.libPrefix}";
  env = {
    NIX_CFLAGS_COMPILE = "-I${python.pkgs.pygame-sdl2}/include";
  };

  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;