3
0
Fork 0
forked from mirrors/nixpkgs

SDL2_image: support webp images

This commit is contained in:
Dan Callahan 2019-03-04 14:07:32 +00:00
parent 981ce3418a
commit f972720c7e
No known key found for this signature in database
GPG key ID: 8D6DD713E9EBA7FD

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libXpm, zlib, Foundation }:
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libwebp, libXpm, zlib, Foundation }:
stdenv.mkDerivation rec {
name = "SDL2_image-${version}";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1b6f7002bm007y3zpyxb5r6ag0lml51jyvx1pwpj9sq24jfc8kp7";
};
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libXpm zlib ]
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libwebp libXpm zlib ]
++ stdenv.lib.optional stdenv.isDarwin Foundation;