about summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-11 15:08:05 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-11 15:08:05 +0000
commit76c87385524263bb9e9c1b80f5e4bafe715c3725 (patch)
tree01168c8362b6542ef0dc472cae34fe39a8dd2138 /pkgs/applications/graphics/gimp
parent8da211ed32160d2a2733030224a60d1a4e9a9660 (diff)
downloadnixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.tar
nixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.tar.gz
nixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.tar.bz2
nixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.tar.lz
nixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.tar.xz
nixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.tar.zst
nixlib-76c87385524263bb9e9c1b80f5e4bafe715c3725.zip
Adding the GAP gimp plugin, and making nix-env recurse into the gimp plugins attribute set.
svn path=/nixpkgs/trunk/; revision=19936
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 396b1b78e6d6..e72828d4dfbd 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -46,6 +46,29 @@ let
 
 in
 rec {
+  gap = pluginDerivation {
+    /* menu:
+       Video
+    */
+    name = "gap-2.6.0";
+    buildInputs = [ gimp pkgconfig glib pkgs.intltool gimp.gtk ] ++ gimp.buildInputs;
+    src = fetchurl {
+      url = ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.6/gap/gimp-gap-2.6.0.tar.bz2;
+      sha256 = "1jic7ixcmsn4kx2cn32nc5087rk6g8xsrz022xy11yfmgvhzb0ql";
+    };
+    patchPhase = ''
+      sed -e 's,^\(GIMP_PLUGIN_DIR=\).*,\1'"$out/${gimp.name}-plugins", \
+       -e 's,^\(GIMP_DATA_DIR=\).*,\1'"$out/share/${gimp.name}", -i configure
+    '';
+    meta = { 
+      description = "The GIMP Animation Package";
+      homepage = http://www.gimp.org;
+      # The main code is given in GPLv3, but it has ffmpeg in it, and I think ffmpeg license
+      # falls inside "free".
+      license = [ "GPLv3" "free" ];
+    };
+  };
+
   fourier = pluginDerivation {
     /* menu:
        Filters/Generic/FFT Forward