rkik: init at 0.5.0

This commit is contained in:
Yiyu Zhou
2025-07-27 14:36:08 -07:00
parent 8331663fa9
commit 66c87bfce2
+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";
};
})