diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-11 15:03:13 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-12 13:34:43 +0100 |
commit | 6394c80e2424c7b8d20622f87f3717efa528e899 (patch) | |
tree | 0e828d485681c524b3710fbbb07ef128301965c0 /pkgs/tools/graphics | |
parent | 40d48a14d2b0424fd5b2b651570d8c548ef07f33 (diff) |
vips: add passthru.tests.version
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 96095bdc5ad58..9114982742e0f 100644 --- a/pkgs/tools/graphics/vips/default.nix +++ b/pkgs/tools/graphics/vips/default.nix @@ -112,8 +112,14 @@ stdenv.mkDerivation (finalAttrs: { ; passthru = { - tests.pkg-config = testers.hasPkgConfigModules { - package = finalAttrs.finalPackage; + tests = { + pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + }; + version = testers.testVersion { + package = finalAttrs.finalPackage; + command = "vips --version"; + }; }; updateScript = nix-update-script { extraArgs = [ "--version-regex" "v([0-9.]+)" ]; |