Skip to content

Commit

Permalink
photofield: add passthru.tests.version
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Nov 25, 2023
1 parent f8adf71 commit 469d56a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/servers/photofield/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
, makeWrapper
, exiftool
, ffmpeg
, testers
, photofield
}:

let
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 469d56a

Please sign in to comment.