From 150be958553edaf4cf23c7c6c1f12bdd8be6ea34 Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Wed, 10 May 2023 15:25:35 +0200 Subject: [PATCH] espanso: add version test --- pkgs/applications/office/espanso/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/office/espanso/default.nix b/pkgs/applications/office/espanso/default.nix index 8c43d9b919a2..811c7548caa7 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";