From e5faee92224cd93c7fc763a9d6393e9acf5c22ec Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 20 May 2024 03:34:36 -0400 Subject: [PATCH] ntpd-rs: add version test --- pkgs/tools/networking/ntpd-rs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/networking/ntpd-rs/default.nix b/pkgs/tools/networking/ntpd-rs/default.nix index 51fe2744439e..37026d9c5cd5 100644 --- a/pkgs/tools/networking/ntpd-rs/default.nix +++ b/pkgs/tools/networking/ntpd-rs/default.nix @@ -2,10 +2,12 @@ , stdenv , rustPlatform , fetchFromGitHub +, ntpd-rs , installShellFiles , pandoc , Security , nixosTests +, testers }: rustPlatform.buildRustPackage rec { @@ -54,6 +56,10 @@ rustPlatform.buildRustPackage rec { passthru = { tests = { nixos = lib.optionalAttrs stdenv.isLinux nixosTests.ntpd-rs; + version = testers.testVersion { + package = ntpd-rs; + inherit version; + }; }; };