Commit 8f448975 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.pysdl2: 0.9.17-unstable-2025-04-03 -> 0.9.17-unstable-2025-11-18

parent 80bd21c5
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -19,18 +19,17 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pysdl2";
  version = "0.9.17-unstable-2025-04-03";
  version = "0.9.17-unstable-2025-11-18";
  pyproject = true;

  pythonImportsCheck = [ "sdl2" ];
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "py-sdl";
    repo = "py-sdl2";
    rev = "6414ee1c5f4a6eb91b71f5f9e35d469eee395b9f";
    hash = "sha256-E6Jpuin4bqDkvFTaZTsTNkNQJd2e5fuTf2oLsQ71uQ0=";
    rev = "3d0672135fab3ca58e2f00c0a76b7b25cb818784";
    hash = "sha256-SgorCWZmJk13LNlTmh5Aomik14PTZdWliU3GWtkTASE=";
  };

  patches = [
@@ -72,6 +71,8 @@ buildPythonPackage rec {
    PYTHONFAULTHANDLER = "1";
  };

  pythonImportsCheck = [ "sdl2" ];

  nativeCheckInputs = [
    numpy
    pillow
@@ -91,10 +92,10 @@ buildPythonPackage rec {
  ];

  meta = {
    changelog = "https://github.com/py-sdl/py-sdl2/compare/0.9.17..${src.rev}";
    changelog = "https://github.com/py-sdl/py-sdl2/compare/0.9.17..${finalAttrs.src.rev}";
    description = "Wrapper around the SDL2 library and as such similar to the discontinued PySDL project";
    homepage = "https://github.com/py-sdl/py-sdl2";
    license = lib.licenses.publicDomain;
    maintainers = with lib.maintainers; [ pmiddend ];
  };
}
})