nixpkgs/pkgs/development/libraries/imlib/default.nix

24 lines
666 B
Nix
Raw Normal View History

{stdenv, fetchurl, libX11, libXext, xorgproto, 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";
};
2018-07-25 21:44:21 +00:00
configureFlags = [
"--disable-shm"
"--x-includes=${libX11.dev}/include"
"--x-libraries=${libX11.out}/lib"
];
buildInputs = [libjpeg libXext libX11 xorgproto libtiff libungif libpng];
2018-11-01 19:47:54 +00:00
meta = with stdenv.lib; {
description = "An image loading and rendering library for X11";
platforms = platforms.unix;
license = with licenses; [ gpl2 lgpl2 ];
};
}