diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-04-08 01:53:02 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-04-08 01:53:02 +0300 |
commit | b97435e15fbcc51e320427e6030fbde37532ebc0 (patch) | |
tree | ae3c660a1b7f2fa5f8aad5888eb29c0c98701a38 /pkgs | |
parent | 1fa5e7ae3cb990362a8b05a3fdaf5917a4b0b3e6 (diff) | |
parent | ce1e7cccb6c11a6d0b2f5afdb6e8aacd3916191e (diff) | |
download | nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.tar nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.tar.gz nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.tar.bz2 nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.tar.lz nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.tar.xz nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.tar.zst nixlib-b97435e15fbcc51e320427e6030fbde37532ebc0.zip |
Merge pull request #7251 from spwhitt/feh
feh and imlib2: Darwin fixes
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/feh/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/imlib2/default.nix | 18 |
2 files changed, 18 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix index bd77446b1ecb..5b6d745f0e98 100644 --- a/pkgs/applications/graphics/feh/default.nix +++ b/pkgs/applications/graphics/feh/default.nix @@ -25,6 +25,6 @@ stdenv.mkDerivation rec { homepage = https://derf.homelinux.org/projects/feh/; license = stdenv.lib.licenses.mit; maintainers = with stdenv.lib.maintainers; [viric]; - platforms = with stdenv.lib.platforms; linux; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/imlib2/default.nix b/pkgs/development/libraries/imlib2/default.nix index 53f978551cdd..50703f907d34 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 ]; }; } |