git.iko.soy/typeable/nixpkgs
on master help sign in
imlib2: fix Darwin build
commit52f619ae1fd56e98f910f52cdd0a63a6a2cfe640 authorSpencer Whitt <sw@swhitt.me> dateTue 7 Apr 2015, 18:39 (12 years ago) parent1035b7b
1 file changed+17−1
pkgs/development/libraries/imlib2/default.nix+17−1
pkgs/development/libraries/imlib2/default.nix+17−1
@@ -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}