Commit 3763f578 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

SDL2_image: 2.8.2 -> 2.8.3

While at it tweaked `SDL2_image_2_0` to survive `autoreconf`.

Changes: https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.3
parent a98c720f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
{
  lib,
  SDL2,
  autoreconfHook,
  darwin,
  fetchurl,
  giflib,
@@ -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
  ];

+7 −0
Original line number Diff line number Diff line
@@ -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
    '';
})