diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-11 14:54:17 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-12 13:34:42 +0100 |
commit | 40d48a14d2b0424fd5b2b651570d8c548ef07f33 (patch) | |
tree | 2502b7a11d972f9b59d77602839d37a36ed4d7d7 /pkgs/tools/graphics | |
parent | 390190b64e3cb3bde0143ef46bcb6e97cfcd4cc8 (diff) |
vips: add passthru.updateScript
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/vips/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/vips/default.nix b/pkgs/tools/graphics/vips/default.nix index dd0bb3b3f86af..96095bdc5ad58 100644 --- a/pkgs/tools/graphics/vips/default.nix +++ b/pkgs/tools/graphics/vips/default.nix @@ -37,6 +37,7 @@ , libheif , cgif , testers +, nix-update-script }: stdenv.mkDerivation (finalAttrs: { @@ -110,8 +111,13 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional (imagemagick == null) "-Dmagick=disabled" ; - passthru.tests.pkg-config = testers.hasPkgConfigModules { - package = finalAttrs.finalPackage; + passthru = { + tests.pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + }; + updateScript = nix-update-script { + extraArgs = [ "--version-regex" "v([0-9.]+)" ]; + }; }; meta = with lib; { |