rkik: init at 0.5.0 (#428757)

This commit is contained in:
Aleksana
2025-08-01 17:18:03 +08:00
committed by GitHub
+41
View File
@@ -0,0 +1,41 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rkik";
version = "0.5.0";
src = fetchFromGitHub {
owner = "aguacero7";
repo = "rkik";
tag = "v${finalAttrs.version}";
hash = "sha256-MVNqc0IHFZTi3Vz1OeKeRrKbk4kcM3GvfTPajs+FHew=";
};
cargoHash = "sha256-CuFQFHN9O/bnZ32sQoj4aduLECpKmBXfJt5n0IH/5Tc=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Command-line tool for querying NTP servers and comparing clock offsets";
longDescription = ''
Most systems rely on a daemon (like chronyd or ntpd) to
synchronize time. But what if you just want to inspect the
current offset between your system clock and one or more NTP
servers without root, without sync, and without installing
anything heavyweight?
RKIK is a Rust-based CLI tool designed for stateless and passive
NTP inspection, just as dig or ping are for DNS and ICMP.
'';
homepage = "https://github.com/aguacero7/rkik";
changelog = "https://github.com/aguacero7/rkik/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "rkik";
};
})