summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-05-04 02:43:46 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-05-04 03:49:17 +0200
commit2d0ea8e6d5524e85f641a0410145b92ce02bac04 (patch)
tree1e9792f8199ad6a2dc9d6002d29fd0a6b20c4e82 /pkgs/applications/graphics/gimp
parentaeb464dfd3724e013eb5c6a1bc82b1101d1306ce (diff)
gimpPlugins.resynthesizer2: 2.0.1 → 2.0.3
Fixes makeFlags: $out is not sufficient to install the binaries, let's use placeholder. Also update and clean up the expression.
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 0c753498af34..714a1f921d62 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -23,7 +23,7 @@ let
}
// a
// {
- name = "gimp-plugin-${a.name}";
+ name = "gimp-plugin-${a.name or "${a.pname}-${a.version}"}";
buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []);
nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []);
}
@@ -110,22 +110,23 @@ rec {
";
};
- resynthesizer2 = pluginDerivation {
+ resynthesizer2 = pluginDerivation rec {
/* menu:
Filters/Map/Resynthesize
Filters/Enhance/Smart enlarge
Filters/Enhance/Smart sharpen
Filters/Enhance/Smart remove selection
*/
- name = "resynthesizer-2.0.1";
+ pname = "resynthesizer";
+ version = "2.0.3";
buildInputs = with pkgs; [ fftw ];
nativeBuildInputs = with pkgs; [ autoreconfHook ];
- makeFlags = "GIMP_LIBDIR=$out/lib/gimp/2.0/";
+ makeFlags = [ "GIMP_LIBDIR=${placeholder "out"}/lib/gimp/2.0" ];
src = fetchFromGitHub {
owner = "bootchk";
repo = "resynthesizer";
- rev = "2.0.1";
- sha256 = "1d214s0jsqxz83l9dd8vhnz3siw9fyw7xdhhir25ra7jiwxc99hd";
+ rev = "v${version}";
+ sha256 = "1jwc8bhhm21xhrgw56nzbma6fwg59gc8anlmyns7jdiw83y0zx3j";
};
};