about summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorAlexander V. Nikolaev <avn@avnik.info>2017-05-02 09:26:10 +0300
committerAlexander V. Nikolaev <avn@avnik.info>2017-05-02 09:33:54 +0300
commit8452e0684ee06c30f866c37c43e50caa52ed78ab (patch)
tree3e1914880a6a3ad4eae6f43a1454a25d2452e587 /pkgs/applications/graphics/gimp
parent94d909adaf828079ec8ea673d7de8f34f1554a1a (diff)
downloadnixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.tar
nixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.tar.gz
nixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.tar.bz2
nixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.tar.lz
nixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.tar.xz
nixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.tar.zst
nixlib-8452e0684ee06c30f866c37c43e50caa52ed78ab.zip
gimp: split buildInputs and nativeBuildInputs for plugins
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix22
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 91a408833a42..b52009d715e3 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -25,7 +25,8 @@ let
     # don't call this gimp-* unless you want nix replace gimp by a plugin :-)
   // {
       name = "${a.name}-${gimp.name}-plugin";
-      buildInputs = [ gimp gimp.gtk glib pkgconfig ] ++ (a.buildInputs or []);
+      buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []);
+      nativeBuildInputs = [ pkgconfig ] ++ (a.nativeBuildInputs or []);
     }
   );
 
@@ -50,7 +51,7 @@ rec {
        Video
     */
     name = "gap-2.6.0";
-    buildInputs = [ gimp pkgconfig glib pkgs.intltool gimp.gtk ] ++ gimp.nativeBuildInputs;
+    nativeBuildInputs = with pkgs; [ intltool ];
     src = fetchurl {
       url = http://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2;
       sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
@@ -75,7 +76,7 @@ rec {
        Filters/Generic/FFT Inverse
     */
     name = "fourier-0.4.1";
-    buildInputs = with pkgs; [ fftw  glib];
+    buildInputs = with pkgs; [ fftw ];
     postInstall = "fail";
     installPhase = "installPlugins fourier";
     src = fetchurl {
@@ -89,7 +90,8 @@ rec {
        Blur/Focus Blur
     */
     name = "focusblur-3.2.6";
-    buildInputs = with pkgs; [ intltool fftwSinglePrec ];
+    buildInputs = with pkgs; [ fftwSinglePrec ];
+    nativeBuildInputs = with pkgs; [ intltool ];
     patches = [ ./patches/focusblur-glib.patch ];
     postInstall = "fail";
     installPhase = "installPlugins src/focusblur";
@@ -127,8 +129,8 @@ rec {
       Filters/Enhance/Smart remove selection
     */
     name = "resynthesizer-2.0.1";
-    buildInputs = with pkgs; [ 
-      fftw 
+    buildInputs = with pkgs; [ fftw ];
+    nativeBuildInputs = with pkgs; [ 
       autoreconfHook
       intltool
     ];
@@ -147,7 +149,8 @@ rec {
       url = mirror://sourceforge/gimp-texturize/texturize-2.1_src.tgz;
       sha256 = "0cdjq25g3yfxx6bzx6nid21kq659s1vl9id4wxyjs2dhcv229cg3";
     };
-    buildInputs = with pkgs; [ intltool perl ];
+    buildInputs = with pkgs; [ perl ];
+    nativeBuildInputs = with pkgs; [ intltool ];
     patchPhase = ''
       sed -i '/.*gimpimage_pdb.h.*/ d' src/*.c*
     '';
@@ -159,7 +162,7 @@ rec {
       Filters/Enhance/Wavelet sharpen
     */
     name = "wavelet-sharpen-0.1.2";
-    buildInputs = with pkgs; [ intltool ];
+    nativeBuildInputs = with pkgs; [ intltool ];
     src = fetchurl {
       url = http://registry.gimp.org/files/wavelet-sharpen-0.1.2.tar.gz;
       sha256 = "0vql1k67i21g5ivaa1jh56rg427m0icrkpryrhg75nscpirfxxqw";
@@ -172,7 +175,8 @@ rec {
        Layer/Liquid Rescale
     */
     name = "lqr-plugin-0.6.1";
-    buildInputs = with pkgs; [ intltool libLQR ];
+    buildInputs = with pkgs; [ libLQR ];
+    nativeBuildInputs = with pkgs; [ intltool ];
     src = fetchurl {
       url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2;
       sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9";