From bd69c59e3175984387bb1ef6f1d48abe55926f87 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 29 Nov 2025 18:22:44 +0100 Subject: [PATCH] gimpPlugins.resynthesizer: 2.0.3 -> 3.0 --- .../graphics/gimp/plugins/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index 1c5a76ef23d9..3e238a406dc3 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -227,19 +227,25 @@ lib.makeScope pkgs.newScope ( Filters/Render/Texture... */ pname = "resynthesizer"; - version = "2.0.3"; + version = "3.0"; buildInputs = with pkgs; [ fftw ]; - nativeBuildInputs = with pkgs; [ autoreconfHook ]; + nativeBuildInputs = with pkgs; [ + meson + ninja + ]; makeFlags = [ "GIMP_LIBDIR=${placeholder "out"}/${gimp.targetLibDir}" ]; src = fetchFromGitHub { owner = "bootchk"; repo = "resynthesizer"; - rev = "v${version}"; - sha256 = "1jwc8bhhm21xhrgw56nzbma6fwg59gc8anlmyns7jdiw83y0zx3j"; + tag = "v${version}"; + hash = "sha256-/Py5R1RxiftTR0z++mQzgTn/J9v4p8efuGZSfhe6FfA="; }; meta = { - broken = gimp.majorVersion != "2.0"; + broken = lib.versionOlder gimp.version "3"; + description = "Suite of gimp plugins for texture synthesis"; + homepage = "https://github.com/bootchk/resynthesizer"; + license = [ lib.licenses.gpl3Plus ]; }; };