2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libxml2, expat,
|
2015-01-14 00:49:58 +01:00
|
|
|
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
|
2018-07-21 02:44:44 +02:00
|
|
|
python27, libpng ? null
|
2015-01-14 00:49:58 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-12 02:50:21 +01:00
|
|
|
name = "vips-${version}";
|
2018-06-19 06:08:50 +02:00
|
|
|
version = "8.6.4";
|
2015-01-14 00:49:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-12 02:50:21 +01:00
|
|
|
url = "https://github.com/jcupitt/libvips/releases/download/v${version}/${name}.tar.gz";
|
2018-06-19 06:08:50 +02:00
|
|
|
sha256 = "1x4ai997yfl4155r4k3m5fa5hj3030c4abi5g49kfarbr60a0ca6";
|
2015-01-14 00:49:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig glib libxml2 fftw orc lcms
|
|
|
|
imagemagick openexr libtiff libjpeg
|
|
|
|
libgsf libexif python27 libpng
|
2018-02-12 02:50:21 +01:00
|
|
|
expat
|
2015-01-14 00:49:58 +01: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;
|
|
|
|
};
|
|
|
|
}
|