From 4db32a86dde3dcdda04b6732abb6c1388fce993c Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Wed, 17 Sep 2025 07:48:04 -0700 Subject: [PATCH 1/2] gimpPlugins.lightning: add version Reference: https://github.com/pixlsus/registry.gimp.org_static/blob/ffcde7400f402728373ff6579947c6ffe87d1a5e/README --- pkgs/applications/graphics/gimp/plugins/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index 37f886e25e6d..9a09dfcc0053 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -369,7 +369,8 @@ lib.makeScope pkgs.newScope ( # =============== simple script files ==================== lightning = scriptDerivation { - name = "Lightning"; + pname = "Lightning"; + version = "0-unstable-2017-08-25"; src = fetchurl { url = "https://github.com/pixlsus/registry.gimp.org_static/raw/master/registry.gimp.org/files/Lightning.scm"; sha256 = "c14a8f4f709695ede3f77348728a25b3f3ded420da60f3f8de3944b7eae98a49"; From 7c0bf924603eca4f7245a50aab2f177784b0073a Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Wed, 17 Sep 2025 07:49:01 -0700 Subject: [PATCH 2/2] gimp-with-plugins: list plugins in description gimp2-with-plugins.meta.description: > GNU Image Manipulation Program with plugins gimp2-with-plugins.meta.longDescription: > Plugins: > > - bimp > - farbfeld > - fourier > - gimplensfun > - gmic-qt-gimp > - Lightning > - lqr-plugin > - texturize > - wavelet-sharpen gimp3-with-plugins.meta.description: > GNU Image Manipulation Program with plugins gimp3-with-plugins.meta.longDescription: > Plugins: > > - gmic-qt-gimp > - Lightning > - resynthesizer Co-authored-by: Michael Daniels --- pkgs/applications/graphics/gimp/wrapper.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/gimp/wrapper.nix b/pkgs/applications/graphics/gimp/wrapper.nix index 99e7f9be3d7e..5df58a40ca8b 100644 --- a/pkgs/applications/graphics/gimp/wrapper.nix +++ b/pkgs/applications/graphics/gimp/wrapper.nix @@ -51,5 +51,12 @@ symlinkJoin { ln -s ${gimp.man} $man ''; - inherit (gimp) meta; + meta = gimp.meta // { + description = "${gimp.meta.description} with plugins"; + longDescription = '' + Plugins: + + ${lib.concatMapStringsSep "\n" (p: "- ${p.pname}") selectedPlugins} + ''; + }; }