Files
nixpkgs/pkgs/by-name/rk/rkik/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
1.2 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rkik";
version = "1.1.1";
src = fetchFromGitHub {
owner = "aguacero7";
repo = "rkik";
tag = "v${finalAttrs.version}";
hash = "sha256-zC06Wt8XNpSSru7GUC2VAiP6t6fuWdpinXoIuBSk7kw=";
};
cargoHash = "sha256-XMO7imFg/f+1KzNTrGLzxZ3yRSvD2WxSKpHCIT99xEk=";
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";
};
})