mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
photofield: add passthru.tests.version
This commit is contained in:
parent
f8adf710cb
commit
469d56aedd
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user