2018-02-12 01:50:21 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libxml2, flex, bison, vips, expat,
|
2015-01-13 23:49:58 +00:00
|
|
|
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
|
|
|
|
python27, libpng, matio ? null, cfitsio ? null, libwebp ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-12 01:50:21 +00:00
|
|
|
name = "vips-${version}";
|
2018-03-15 19:10:28 +00:00
|
|
|
version = "8.6.3";
|
2015-01-13 23:49:58 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-12 01:50:21 +00:00
|
|
|
url = "https://github.com/jcupitt/libvips/releases/download/v${version}/${name}.tar.gz";
|
2018-03-15 19:10:28 +00:00
|
|
|
sha256 = "14h9w61gaimldmqaym0zhf9fkxjj1pkd5lhglhs6pxphynwxnnpq";
|
2015-01-13 23:49:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig glib libxml2 fftw orc lcms
|
|
|
|
imagemagick openexr libtiff libjpeg
|
|
|
|
libgsf libexif python27 libpng
|
2018-02-12 01:50:21 +00:00
|
|
|
expat
|
2015-01-13 23:49:58 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|