17 pname = "pygame-sdl2";
19 renpy_version = renpy.base_version;
23 inherit pname version;
24 name = "${pname}-${version}-${renpy_version}";
28 url = "https://www.renpy.org/dl/${renpy_version}/pygame_sdl2-${version}+renpy${renpy_version}.tar.gz";
29 hash = "sha256-bcTrdXWLTCnZQ/fP5crKIPoqJiyz+o6s0PzRChV7TQE=";
32 # force rebuild of headers needed for install
37 # Remove build tag which produces invaild version
57 doCheck = isPy27; # python3 tests are non-functional
60 description = "Reimplementation of parts of pygame API using SDL2";
61 homepage = "https://github.com/renpy/pygame_sdl2";
62 license = with lib.licenses; [
66 maintainers = with lib.maintainers; [ raskin ];