2013-07-04 19:59:43 +02:00
|
|
|
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libXpm, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-22 05:24:32 +02:00
|
|
|
name = "SDL2_image-${version}";
|
|
|
|
version = "2.0.1";
|
2013-07-04 19:59:43 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.libsdl.org/projects/SDL_image/release/${name}.tar.gz";
|
2016-05-10 01:24:01 +02:00
|
|
|
sha256 = "0r3z1l7fdn76qkpy7snpkcjqz8dkv2zp6lsqpq25q4m5xsyaygis";
|
2013-07-04 19:59:43 +02:00
|
|
|
};
|
|
|
|
|
2016-08-22 05:24:32 +02:00
|
|
|
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libXpm zlib ];
|
2013-07-04 19:59:43 +02:00
|
|
|
|
2016-08-22 05:24:32 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-07-04 19:59:43 +02:00
|
|
|
description = "SDL image library";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.libsdl.org/projects/SDL_image/;
|
2016-08-22 05:24:32 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.zlib;
|
2013-07-04 19:59:43 +02:00
|
|
|
};
|
|
|
|
}
|