mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
0329e26f89
This used to build from what the README calls a "pre-baked tarball".
40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
{ stdenv, pkgconfig, glib, libxml2, expat,
|
|
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
|
|
ApplicationServices,
|
|
python27, libpng ? null,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
gtk-doc,
|
|
gobjectIntrospection,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vips-${version}";
|
|
version = "8.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libvips";
|
|
repo = "libvips";
|
|
rev = "v${version}";
|
|
sha256 = "1dwcpmpqbgb9lkajnqv50mrsn97mxbxpq6b5aya7fgfkgdnrs9sw";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc gobjectIntrospection ];
|
|
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 = http://www.vips.ecs.soton.ac.uk;
|
|
description = "Image processing system for large images";
|
|
license = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ kovirobi ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|