···21 --replace "@my_libs@" ""
22 '';
2324+ # Do not build amd64 assembly code on Darwin, because it fails to compile
25+ # with unknow directive errors
26+ configureFlags = if stdenv.isDarwin then [ "--enable-amd64=no" ] else null;
27+28 meta = {
29+ description = "Image manipulation library";
30+31+ longDescription = ''
32+ This is the Imlib 2 library - a library that does image file loading and
33+ saving as well as rendering, manipulation, arbitrary polygon support, etc.
34+ It does ALL of these operations FAST. Imlib2 also tries to be highly
35+ intelligent about doing them, so writing naive programs can be done
36+ easily, without sacrificing speed.
37+ '';
38+39+ license = stdenv.lib.licenses.free;
40+ platforms = stdenv.lib.platforms.unix;
41+ maintainers = with stdenv.lib.maintainers; [ spwhitt ];
42 };
43}