nixpkgs/pkgs/tools/graphics/vips/default.nix

28 lines
848 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, libxml2, flex, bison, vips, gnome,
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
python27, libpng, matio ? null, cfitsio ? null, libwebp ? null
}:
stdenv.mkDerivation rec {
name = "vips-7.42.1";
src = fetchurl {
url = "http://www.vips.ecs.soton.ac.uk/supported/current/${name}.tar.gz";
sha256 = "1gvazsyfa8w9wdwz89rpa1xmfpyk3b0cp4kkila1r9jc3sqp5qjy";
};
buildInputs =
[ pkgconfig glib libxml2 fftw orc lcms
imagemagick openexr libtiff libjpeg
libgsf libexif python27 libpng
];
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;
};
}