2012-12-06 11:02:17 +00:00
|
|
|
{ stdenv, fetchurl, SDL, libpng, libjpeg, libtiff, libungif, libXpm }:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-22 04:24:00 +01:00
|
|
|
name = "SDL_image-${version}";
|
|
|
|
version = "1.2.12";
|
2008-02-06 21:17:42 +00:00
|
|
|
|
2012-12-06 11:02:17 +00:00
|
|
|
src = fetchurl {
|
2013-09-06 02:47:49 +01:00
|
|
|
url = "http://www.libsdl.org/projects/SDL_image/release/${name}.tar.gz";
|
2012-12-06 11:02:17 +00:00
|
|
|
sha256 = "16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b";
|
2008-02-06 21:17:42 +00:00
|
|
|
};
|
2007-08-09 18:33:18 +01:00
|
|
|
|
2013-09-06 02:47:49 +01:00
|
|
|
buildInputs = [ SDL libpng libjpeg libtiff libungif libXpm ];
|
2007-08-09 18:33:18 +01:00
|
|
|
|
2013-09-06 02:47:49 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "SDL image library";
|
2016-08-22 04:24:00 +01:00
|
|
|
homepage = "http://www.libsdl.org/projects/SDL_image/";
|
2013-09-06 02:47:49 +01:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2015-03-05 20:56:41 +00:00
|
|
|
platforms = platforms.unix;
|
2007-08-09 18:33:18 +01:00
|
|
|
};
|
2009-03-03 13:27:40 +00:00
|
|
|
}
|