SDL2_classic: 2.32.2 -> 2.32.4 (#398067)

This commit is contained in:
K900
2025-04-18 09:55:21 +03:00
committed by GitHub
+2 -8
View File
@@ -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 = ''