Unverified Commit 469d56ae authored by Anthony Roussel's avatar Anthony Roussel
Browse files

photofield: add passthru.tests.version

parent f8adf710
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";