Merge pull request #45420 from enumatech/vips-darwin

vips: Add darwin support
This commit is contained in:
adisbladis 2018-08-21 16:08:25 +08:00 committed by GitHub
commit 6864680cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, pkgconfig, glib, libxml2, expat,
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
ApplicationServices,
python27, libpng ? null
}:
@ -12,18 +13,17 @@ stdenv.mkDerivation rec {
sha256 = "1nymm4vzscb68aifin9q742ff64b4k4ddppq1060w8hf6h7ay0l7";
};
buildInputs =
[ pkgconfig glib libxml2 fftw orc lcms
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libxml2 fftw orc lcms
imagemagick openexr libtiff libjpeg
libgsf libexif python27 libpng
expat
];
libgsf libexif python27 libpng expat ]
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
meta = with stdenv.lib; {
homepage = http://www.vips.ecs.soton.ac.uk;
description = "Image processing system for large images";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ kovirobi ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View File

@ -21893,7 +21893,9 @@ with pkgs;
vimb-unwrapped = callPackage ../applications/networking/browsers/vimb { };
vimb = wrapFirefox vimb-unwrapped { };
vips = callPackage ../tools/graphics/vips { };
vips = callPackage ../tools/graphics/vips {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
};
nip2 = callPackage ../tools/graphics/nip2 { };
virglrenderer = callPackage ../development/libraries/virglrenderer { };