@@ -21,7 +21,23 @@ stdenv.mkDerivation rec {
2121 --replace "@my_libs@" ""
2222 '';
2323
24+ # 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+
2428 meta = {
25− hydraPlatforms = stdenv.lib.platforms.linux;
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 ];
2642 };
2743}