Skip to content

Commit

Permalink
SDL2_image: 2.8.2 -> 2.8.3 (#366222)
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron authored Dec 19, 2024
2 parents bb78413 + 3763f57 commit 1b5f3af
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/by-name/sd/SDL2_image/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
lib,
SDL2,
autoreconfHook,
darwin,
fetchurl,
giflib,
Expand All @@ -22,15 +23,16 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "SDL2_image";
version = "2.8.2";
version = "2.8.3";

src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${finalAttrs.version}.tar.gz";
hash = "sha256-j0hrv7z4Rk3VjJ5dkzlKsCVc5otRxalmqRgkSCCnbdw=";
hash = "sha256-SwAPLCOM44CAfuDLaKDvAFhxaR7Ohkbb9PQlpYKxuyI=";
};

nativeBuildInputs = [
SDL2
autoreconfHook
pkg-config
];

Expand Down
7 changes: 7 additions & 0 deletions pkgs/by-name/sd/SDL2_image_2_0/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ SDL2_image.overrideAttrs (oldAttrs: {
inherit (oldAttrs.src) url;
hash = "sha256-vdX24CZoL31+G+C2BRsgnaL0AqLdi9HEvZwlrSYxCNA";
};

postPatch =
(oldAttrs.postPatch or "")
+ ''
# allow newer autoreconf to run successfully
touch NEWS README AUTHORS ChangeLog
'';
})

0 comments on commit 1b5f3af

Please sign in to comment.