Unverified Commit a71c6e1c authored by Marcin Serwin's avatar Marcin Serwin
Browse files

endgame-singularity: replace pygame with pygame-ce



Signed-off-by: default avatarMarcin Serwin <marcin@serwin.dev>
parent 91057e3c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -31,6 +31,11 @@ python3.pkgs.buildPythonApplication {
  srcs = [ main_src ] ++ lib.optional enableDefaultMusicPack music_src;
  sourceRoot = main_src.name;

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail "pygame>=2.5.2" "pygame-ce"
  '';

  nativeBuildInputs = [ unzip ]; # The music is zipped

  build-system = with python3.pkgs; [
@@ -38,7 +43,7 @@ python3.pkgs.buildPythonApplication {
  ];

  dependencies = with python3.pkgs; [
    pygame
    pygame-ce
    numpy
    polib
  ];