gmic: 1.5.7.2 -> 1.6.5.0

This commit is contained in:
Robert Helgesson 2015-07-16 18:00:45 +02:00
parent ecb38b5fb6
commit 3eaa7ba417

View File

@ -159,24 +159,25 @@ rec {
}; };
gmic = gmic =
let pluginDerivation rec {
imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough? name = "gmic-1.6.5.0";
in pluginDerivation rec {
name = "gmic-1.5.7.2"; buildInputs = [pkgconfig pkgs.fftw pkgs.opencv gimp] ++ gimp.nativeBuildInputs;
buildInputs = [imagemagick pkgconfig pkgs.fftw gimp] ++ gimp.nativeBuildInputs;
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/gmic/gmic_1.5.7.2.tar.gz; url = http://gmic.eu/files/source/gmic_1.6.5.0.tar.gz;
sha256 = "1cpbxb3p2c8bcv2cbr150whapzjc7w09i3jza0z9x3xj8c0vdyv1"; sha256 = "1vb6zm5zpqfnzxjvb9yfvczaqacm55rf010ib0yk9f28b17qrjgb";
}; };
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${imagemagick}/include/ImageMagick"
'';
sourceRoot = "${name}/src"; sourceRoot = "${name}/src";
buildPhase = "make gimp";
buildFlags = "gimp";
installPhase = "installPlugins gmic_gimp"; installPhase = "installPlugins gmic_gimp";
meta = { meta = {
description = "script language for image processing which comes with its open-source interpreter"; description = "script language for image processing which comes with its open-source interpreter";
homepage = http://gmic.sourceforge.net/repository.shtml; homepage = http://gmic.eu/gimp.shtml;
license = stdenv.lib.licenses.cecill20; license = stdenv.lib.licenses.cecill20;
/* /*
The purpose of this Free Software license agreement is to grant users The purpose of this Free Software license agreement is to grant users