diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-23 13:11:19 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-25 18:22:40 +0100 |
commit | 469d56aedd90ae57d46b289e7250be122b51f46c (patch) | |
tree | f3327ccb90d701baccb1a5081a30b73874d808b3 /pkgs/servers/photofield | |
parent | f8adf710cb2e298b37649132791c93bebc69954b (diff) |
photofield: add passthru.tests.version
Diffstat (limited to 'pkgs/servers/photofield')
-rw-r--r-- | pkgs/servers/photofield/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/photofield/default.nix b/pkgs/servers/photofield/default.nix index 2ea4738d3e5ae..da28c695db165 100644 --- a/pkgs/servers/photofield/default.nix +++ b/pkgs/servers/photofield/default.nix @@ -5,6 +5,8 @@ , makeWrapper , exiftool , ffmpeg +, testers +, photofield }: let @@ -61,6 +63,11 @@ buildGoModule rec { --prefix PATH : "${lib.makeBinPath [exiftool ffmpeg]}" ''; + passthru.tests.version = testers.testVersion { + package = photofield; + command = "photofield -version"; + }; + meta = with lib; { description = "Experimental fast photo viewer"; homepage = "https://github.com/SmilyOrg/photofield"; |