Unverified Commit 1b5f3af7 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

SDL2_image: 2.8.2 -> 2.8.3 (#366222)

parents bb784131 3763f578
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
    '';
})