python311Packages.pygame-sdl2: rename from pygame_sdl2

This commit is contained in:
Felix Buehler 2024-01-07 16:12:25 +01:00
parent 5570f4ba1e
commit 108cf3dbe8
4 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
SDL2 libpng ffmpeg freetype glew libGLU libGL fribidi zlib
] ++ (with python3.pkgs; [
python pygame_sdl2 tkinter future six pefile requests ecdsa
python pygame-sdl2 tkinter future six pefile requests ecdsa
]);
RENPY_DEPS_INSTALL = lib.concatStringsSep "::" (map (path: path) [
@ -77,7 +77,7 @@ in stdenv.mkDerivation rec {
runHook postInstall
'';
env.NIX_CFLAGS_COMPILE = with python3.pkgs; "-I${pygame_sdl2}/include/${python.libPrefix}";
env.NIX_CFLAGS_COMPILE = with python3.pkgs; "-I${pygame-sdl2}/include/${python.libPrefix}";
meta = with lib; {
description = "Visual Novel Engine";

View File

@ -2,7 +2,7 @@
, cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
buildPythonPackage rec {
pname = "pygame_sdl2";
pname = "pygame-sdl2";
version = "2.1.0";
format = "setuptools";
renpy_version = renpy.base_version;

View File

@ -310,6 +310,7 @@ mapAliases ({
pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
pygame_sdl2 = pygame-sdl2; # added 2024-01-07
pygbm = throw "pygbm has been removed, since it is abandoned and broken"; # added 2023-06-20
PyGithub = pygithub; # added 2023-02-19
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15

View File

@ -10411,7 +10411,7 @@ self: super: with self; {
SDL2_image = pkgs.SDL2_image_2_0_5;
};
pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { };
pygame-sdl2 = callPackage ../development/python-modules/pygame-sdl2 { };
pygame-gui = callPackage ../development/python-modules/pygame-gui { };