about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-04 11:01:12 +0200
committerGitHub <noreply@github.com>2023-08-04 11:01:12 +0200
commit12703229626d8622b5343d6ed513e8c18d02a50a (patch)
treef9da6d50286482214edc46d05caddf9053b600f4 /pkgs/applications/misc
parentf8cff9ef6b34664e6648028aaf98b9aa059efb47 (diff)
parentcf086d9ae6960e376d3370343cde8fa3ad3a2617 (diff)
Merge pull request #247078 from DamienCassou/saveeyes-improvements
safeeyes: Add passthru.tests.version
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/safeeyes/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/safeeyes/default.nix b/pkgs/applications/misc/safeeyes/default.nix
index f5cd73e031375..4b845737e7c85 100644
--- a/pkgs/applications/misc/safeeyes/default.nix
+++ b/pkgs/applications/misc/safeeyes/default.nix
@@ -7,6 +7,8 @@
 , libnotify
 , wlrctl
 , gtk3
+, safeeyes
+, testers
 , xprintidle
 , xprop
 , wrapGAppsHook
@@ -61,6 +63,8 @@ buildPythonApplication rec {
 
   doCheck = false; # no tests
 
+  passthru.tests.version = testers.testVersion { package = safeeyes; };
+
   meta = with lib; {
     homepage = "http://slgobinath.github.io/SafeEyes";
     description = "Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder. A Free and Open Source Linux alternative to EyeLeo";