mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ntpd-rs: add version test
This commit is contained in:
parent
b24f690c5c
commit
e5faee9222
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user