summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2015-07-16 18:00:45 +0200
committerRobert Helgesson <robert@rycee.net>2015-07-21 21:45:00 +0200
commit3eaa7ba417d92389d802a90efa34d4f7a15b6ba7 (patch)
tree14ac387edebb90b020924242b1d4b75860e30f2a /pkgs/applications/graphics/gimp
parentecb38b5fb6f12b19862fedbb6774fb886dbd84c2 (diff)
downloadnixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.tar
nixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.tar.gz
nixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.tar.bz2
nixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.tar.lz
nixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.tar.xz
nixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.tar.zst
nixlib-3eaa7ba417d92389d802a90efa34d4f7a15b6ba7.zip
gmic: 1.5.7.2 -> 1.6.5.0
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 8ece9ba2453c..ea638de7925d 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -159,24 +159,25 @@ rec {
   };
 
   gmic =
-  let
-    imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough?
-  in pluginDerivation rec {
-      name = "gmic-1.5.7.2";
-      buildInputs = [imagemagick pkgconfig pkgs.fftw gimp] ++ gimp.nativeBuildInputs;
+    pluginDerivation rec {
+      name = "gmic-1.6.5.0";
+
+      buildInputs = [pkgconfig pkgs.fftw pkgs.opencv gimp] ++ gimp.nativeBuildInputs;
+
       src = fetchurl {
-        url = mirror://sourceforge/gmic/gmic_1.5.7.2.tar.gz;
-        sha256 = "1cpbxb3p2c8bcv2cbr150whapzjc7w09i3jza0z9x3xj8c0vdyv1";
+        url = http://gmic.eu/files/source/gmic_1.6.5.0.tar.gz;
+        sha256 = "1vb6zm5zpqfnzxjvb9yfvczaqacm55rf010ib0yk9f28b17qrjgb";
       };
-      preConfigure = ''
-        export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${imagemagick}/include/ImageMagick"
-      '';
+
       sourceRoot = "${name}/src";
-      buildPhase = "make gimp";
+
+      buildFlags = "gimp";
+
       installPhase = "installPlugins gmic_gimp";
+
       meta = {
         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;
         /*
         The purpose of this Free Software license agreement is to grant users