From 37c9f1cafa54e6289ea6c49524c1dc6a633e254b Mon Sep 17 00:00:00 2001 From: kashw2 Date: Thu, 10 Aug 2023 23:53:02 +1000 Subject: [PATCH] scaleft: added passthru tests --- pkgs/applications/networking/scaleft/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/networking/scaleft/default.nix b/pkgs/applications/networking/scaleft/default.nix index ca6ccb5561b5..d31d56702ace 100644 --- a/pkgs/applications/networking/scaleft/default.nix +++ b/pkgs/applications/networking/scaleft/default.nix @@ -31,6 +31,12 @@ stdenv.mkDerivation rec { patchShebangs $out ''; + passthru.tests.version = testers.testVersion { + package = scaleft; + command = "sft -v"; + version = "sft version ${version}"; + }; + meta = with lib; { description = "ScaleFT provides Zero Trust software which you can use to secure your internal servers and services"; homepage = "https://www.scaleft.com";