From 35eaead711c5d1008f344a6abc7481ef42d58f2b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 12 Apr 2025 06:27:43 +0100 Subject: [PATCH] SDL2_classic: 2.32.2 -> 2.32.4 Changes: https://github.com/libsdl-org/SDL/releases/tag/release-2.32.4 --- pkgs/by-name/sd/SDL2_classic/package.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/sd/SDL2_classic/package.nix b/pkgs/by-name/sd/SDL2_classic/package.nix index 7af6f1a9cb81..95a8c1ebf0bf 100644 --- a/pkgs/by-name/sd/SDL2_classic/package.nix +++ b/pkgs/by-name/sd/SDL2_classic/package.nix @@ -3,7 +3,6 @@ stdenv, config, fetchFromGitHub, - fetchpatch, nix-update-script, pkg-config, mesa, @@ -71,13 +70,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "SDL2"; - version = "2.32.2"; + version = "2.32.4"; src = fetchFromGitHub { owner = "libsdl-org"; repo = "SDL"; rev = "release-${finalAttrs.version}"; - hash = "sha256-Gtg8G1tRouGZbes1KhsXpYbItpNHYqJCiQKW/L77b+U="; + hash = "sha256-4yUJkttUAbDC/5IdcCFY5ZTIG1qsxEEOjTTuplXV/p4="; }; dontDisableStatic = if withStatic then 1 else 0; outputs = [ @@ -92,11 +91,6 @@ stdenv.mkDerivation (finalAttrs: { # but on NixOS they're spread across different paths. # This patch + the setup-hook will ensure that `sdl2-config --cflags` works correctly. ./find-headers.patch - # https://github.com/libsdl-org/SDL/issues/12224 - (fetchpatch { - url = "https://github.com/libsdl-org/SDL/commit/9e079fe9c7931738ed63d257b1d7fb8a07b66824.diff"; - hash = "sha256-G8gAivCtw5zuPVI9wvEq2oIo/NxFdnPqyLwrmHG1EJ4="; - }) ]; postPatch = ''