about summary refs log tree commit diff
path: root/pkgs/applications/office/espanso
diff options
context:
space:
mode:
authorBob van der Linden <bobvanderlinden@gmail.com>2023-05-10 15:25:35 +0200
committerBob van der Linden <bobvanderlinden@gmail.com>2023-05-21 19:10:34 +0200
commit150be958553edaf4cf23c7c6c1f12bdd8be6ea34 (patch)
tree31ab4e160f091ea5992c2f1e9e311b82796da791 /pkgs/applications/office/espanso
parent5762a20a253e88a8dd9b2e49a6719fda00cb54ca (diff)
espanso: add version test
Diffstat (limited to 'pkgs/applications/office/espanso')
-rw-r--r--pkgs/applications/office/espanso/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/office/espanso/default.nix b/pkgs/applications/office/espanso/default.nix
index 8c43d9b919a24..811c7548caa7c 100644
--- a/pkgs/applications/office/espanso/default.nix
+++ b/pkgs/applications/office/espanso/default.nix
@@ -23,6 +23,8 @@
 , IOKit
 , waylandSupport ? false
 , x11Support ? stdenv.isLinux
+, testers
+, espanso
 }:
 # espanso does not support building with both X11 and Wayland support at the same time
 assert stdenv.isLinux -> x11Support != waylandSupport;
@@ -104,6 +106,10 @@ rustPlatform.buildRustPackage rec {
       )}
   '';
 
+  passthru.tests.version = testers.testVersion {
+    package = espanso;
+  };
+
   meta = with lib; {
     description = "Cross-platform Text Expander written in Rust";
     homepage = "https://espanso.org";