3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/imlib/default.nix
2018-08-03 17:06:03 -04:00

22 lines
547 B
Nix

{stdenv, fetchurl, libX11, libXext, xextproto, libjpeg, libungif, libtiff, libpng}:
stdenv.mkDerivation {
name = "imlib-1.9.15";
src = fetchurl {
url = http://tarballs.nixos.org/imlib-1.9.15.tar.gz;
sha256 = "0ggjxyvgp4pxc0b88v40xj9daz90518ydnycw7qax011gxpr12d3";
};
configureFlags = [
"--disable-shm"
"--x-includes=${libX11.dev}/include"
"--x-libraries=${libX11.out}/lib"
];
buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}