···1+{
2+ lib,
3+ rustPlatform,
4+ fetchFromGitHub,
5+ nix-update-script,
6+}:
7+8+rustPlatform.buildRustPackage (finalAttrs: {
9+ pname = "rkik";
10+ version = "0.5.0";
11+12+ src = fetchFromGitHub {
13+ owner = "aguacero7";
14+ repo = "rkik";
15+ tag = "v${finalAttrs.version}";
16+ hash = "sha256-MVNqc0IHFZTi3Vz1OeKeRrKbk4kcM3GvfTPajs+FHew=";
17+ };
18+19+ cargoHash = "sha256-CuFQFHN9O/bnZ32sQoj4aduLECpKmBXfJt5n0IH/5Tc=";
20+21+ passthru.updateScript = nix-update-script { };
22+23+ meta = {
24+ description = "Command-line tool for querying NTP servers and comparing clock offsets";
25+ longDescription = ''
26+ Most systems rely on a daemon (like chronyd or ntpd) to
27+ synchronize time. But what if you just want to inspect the
28+ current offset between your system clock and one or more NTP
29+ servers — without root, without sync, and without installing
30+ anything heavyweight?
31+32+ RKIK is a Rust-based CLI tool designed for stateless and passive
33+ NTP inspection, just as dig or ping are for DNS and ICMP.
34+ '';
35+ homepage = "https://github.com/aguacero7/rkik";
36+ changelog = "https://github.com/aguacero7/rkik/releases/tag/v${finalAttrs.version}";
37+ license = lib.licenses.mit;
38+ maintainers = with lib.maintainers; [ yiyu ];
39+ mainProgram = "rkik";
40+ };
41+})