ntpd-rs: add version test

This commit is contained in:
seth 2024-05-20 03:34:36 -04:00
parent b24f690c5c
commit e5faee9222
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -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;
};
};
};