diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-04-07 18:39:05 -0400 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-04-07 18:49:22 -0400 |
commit | 52f619ae1fd56e98f910f52cdd0a63a6a2cfe640 (patch) | |
tree | 0dd71db0b652fa2f70dd3fd30b7356c0652523bf /pkgs/development/libraries/imlib2 | |
parent | 1035b7b6c9970a124087f6fe0a5962864c0f67e1 (diff) | |
download | nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.tar nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.tar.gz nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.tar.bz2 nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.tar.lz nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.tar.xz nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.tar.zst nixpkgs-52f619ae1fd56e98f910f52cdd0a63a6a2cfe640.zip |
imlib2: fix Darwin build
Diffstat (limited to 'pkgs/development/libraries/imlib2')
-rw-r--r-- | pkgs/development/libraries/imlib2/default.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/pkgs/development/libraries/imlib2/default.nix b/pkgs/development/libraries/imlib2/default.nix index 53f978551cd..50703f907d3 100644 --- a/pkgs/development/libraries/imlib2/default.nix +++ b/pkgs/development/libraries/imlib2/default.nix @@ -21,7 +21,23 @@ stdenv.mkDerivation rec { --replace "@my_libs@" "" ''; + # Do not build amd64 assembly code on Darwin, because it fails to compile + # with unknow directive errors + configureFlags = if stdenv.isDarwin then [ "--enable-amd64=no" ] else null; + meta = { - hydraPlatforms = stdenv.lib.platforms.linux; + description = "Image manipulation library"; + + longDescription = '' + This is the Imlib 2 library - a library that does image file loading and + saving as well as rendering, manipulation, arbitrary polygon support, etc. + It does ALL of these operations FAST. Imlib2 also tries to be highly + intelligent about doing them, so writing naive programs can be done + easily, without sacrificing speed. + ''; + + license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ spwhitt ]; }; } |