nixpkgs/pkgs/tools/graphics/vips/default.nix
R. RyanTM cedfbdf81c
vips: 8.7.4 -> 8.8.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/vips/versions
2019-06-03 18:55:50 -05:00

45 lines
1.3 KiB
Nix

{ stdenv, pkgconfig, glib, libxml2, expat,
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
ApplicationServices,
python27, libpng ? null,
fetchFromGitHub,
autoreconfHook,
gtk-doc,
gobject-introspection,
}:
stdenv.mkDerivation rec {
name = "vips-${version}";
version = "8.8.0";
src = fetchFromGitHub {
owner = "libvips";
repo = "libvips";
rev = "v${version}";
sha256 = "17wz4rxn3jb171lrh8v3dxiykjhzwwzs5r7ly651dspcbi6s3r6c";
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
extraPostFetch = ''
rm -r $out/test/test-suite/images/
'';
};
nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc gobject-introspection ];
buildInputs = [ glib libxml2 fftw orc lcms
imagemagick openexr libtiff libjpeg
libgsf libexif python27 libpng expat ]
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
autoreconfPhase = ''
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = "https://libvips.github.io/libvips/";
description = "Image processing system for large images";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ kovirobi ];
platforms = platforms.unix;
};
}