Unverified Commit 150be958 authored by Bob van der Linden's avatar Bob van der Linden
Browse files

espanso: add version test

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