nixpkgs-suyu/pkgs/development/libraries/imlib/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

20 lines
530 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}/include
--x-libraries=${libX11}/lib";
buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}