SDL2_image: 2.0.5 -> 2.6.3

SDL2_image_2_0_5: pinned for pygame, toppler

Fixes #187685

Release: https://github.com/libsdl-org/SDL_image/releases/tag/release-2.6.3
This commit is contained in:
superherointj 2023-02-07 19:52:22 -03:00
parent 4b718d8bfc
commit dbe669d8fb
2 changed files with 12 additions and 3 deletions

View file

@ -1,15 +1,20 @@
{ lib, stdenv, fetchurl
, pkg-config
, SDL2, libpng, libjpeg, libtiff, giflib, libwebp, libXpm, zlib, Foundation
, version ? "2.6.3"
, hash ? "sha256-kxyb5b8dfI+um33BV4KLfu6HTiPH8ktEun7/a0g2MSw="
}:
stdenv.mkDerivation rec {
let
pname = "SDL2_image";
version = "2.0.5";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_image/release/${pname}-${version}.tar.gz";
sha256 = "1l0864kas9cwpp2d32yxl81g98lx40dhbdp03dz7sbv84vhgdmdx";
inherit hash;
};
nativeBuildInputs = [ pkg-config ];

View file

@ -23047,6 +23047,10 @@ with pkgs;
SDL2_image = callPackage ../development/libraries/SDL2_image {
inherit (darwin.apple_sdk.frameworks) Foundation;
};
SDL2_image_2_0_5 = SDL2_image.override({ # Pinned for pygame, toppler
version = "2.0.5";
hash = "sha256-vdX24CZoL31+G+C2BRsgnaL0AqLdi9HEvZwlrSYxCNA";
});
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer {
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;