summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gimp/plugins/default.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2016-10-11 19:57:26 +0200
committerMichael Raskin <7c6f434c@mail.ru>2016-10-11 19:57:52 +0200
commit48388dde18f1a43aea04a63c21724c0bab065a29 (patch)
treea79ed8c08a30550ae10bfbd0bf5128e007c42a34 /pkgs/applications/graphics/gimp/plugins/default.nix
parentbfc1ec2807f65cb83471ea983ff05da136ff2866 (diff)
gimpPlugins.resynthesizer2: init at 2.0.1. A rewrite with python wrappers; GUI is better for some tasks and worse for some other tasks.
Diffstat (limited to 'pkgs/applications/graphics/gimp/plugins/default.nix')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix21
1 files changed, 20 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 74abc06bc4e3..1d32ea724faf 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -5,7 +5,7 @@
{ pkgs, gimp }:
let
- inherit (pkgs) stdenv fetchurl pkgconfig glib;
+ inherit (pkgs) stdenv fetchurl pkgconfig glib fetchFromGitHub;
inherit (gimp) targetPluginDir targetScriptDir;
pluginDerivation = a: stdenv.mkDerivation ({
@@ -116,6 +116,25 @@ rec {
";
};
+ resynthesizer2 = pluginDerivation {
+ /* menu:
+ Filters/Map/Resynthesize
+ Filters/Enhance/Smart enlarge
+ Filters/Enhance/Smart sharpen
+ Filters/Enhance/Smart remove selection
+ */
+ name = "resynthesizer-2.0.1";
+ buildInputs = [ gimp pkgs.fftw pkgs.autoreconfHook ]
+ ++ gimp.nativeBuildInputs;
+ makeFlags = "GIMP_LIBDIR=$out/lib/gimp/2.0/";
+ src = fetchFromGitHub {
+ owner = "bootchk";
+ repo = "resynthesizer";
+ rev = "2.0.1";
+ sha256 = "1d214s0jsqxz83l9dd8vhnz3siw9fyw7xdhhir25ra7jiwxc99hd";
+ };
+ };
+
texturize = pluginDerivation {
name = "texturize-2.1";
buildInputs = [ gimp ] ++ gimp.nativeBuildInputs;