2006-08-13 11:46:54 +02:00
|
|
|
{stdenv, fetchurl, libX11, libXext, xextproto, libjpeg, libungif, libtiff, libpng}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "imlib-1.9.15";
|
|
|
|
src = fetchurl {
|
2013-06-25 14:05:48 +02:00
|
|
|
url = http://tarballs.nixos.org/imlib-1.9.15.tar.gz;
|
2014-10-12 16:13:21 +02:00
|
|
|
sha256 = "0ggjxyvgp4pxc0b88v40xj9daz90518ydnycw7qax011gxpr12d3";
|
2006-08-13 11:46:54 +02:00
|
|
|
};
|
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-shm"
|
|
|
|
"--x-includes=${libX11.dev}/include"
|
|
|
|
"--x-libraries=${libX11.out}/lib"
|
|
|
|
];
|
2006-08-13 11:46:54 +02:00
|
|
|
|
|
|
|
buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
2018-11-01 20:47:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An image loading and rendering library for X11";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2006-08-13 11:46:54 +02:00
|
|
|
}
|