endgame-singularity: replace pygame with pygame-ce

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2026-01-01 16:16:49 +01:00
parent 91057e3c15
commit a71c6e1c39
@@ -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
];