Adding the GAP gimp plugin, and making nix-env recurse into the gimp plugins attribute set.
svn path=/nixpkgs/trunk/; revision=19936
This commit is contained in:
parent
8da211ed32
commit
76c8738552
|
@ -46,6 +46,29 @@ let
|
||||||
|
|
||||||
in
|
in
|
||||||
rec {
|
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 {
|
fourier = pluginDerivation {
|
||||||
/* menu:
|
/* menu:
|
||||||
Filters/Generic/FFT Forward
|
Filters/Generic/FFT Forward
|
||||||
|
|
|
@ -7255,7 +7255,9 @@ let
|
||||||
inherit (gnome) gtk libart_lgpl;
|
inherit (gnome) gtk libart_lgpl;
|
||||||
};
|
};
|
||||||
|
|
||||||
gimpPlugins = import ../applications/graphics/gimp/plugins { inherit pkgs gimp; };
|
gimpPlugins = recurseIntoAttrs (import ../applications/graphics/gimp/plugins {
|
||||||
|
inherit pkgs gimp;
|
||||||
|
});
|
||||||
|
|
||||||
gitAndTools = recurseIntoAttrs (import ../applications/version-management/git-and-tools {
|
gitAndTools = recurseIntoAttrs (import ../applications/version-management/git-and-tools {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
Loading…
Reference in New Issue