statime: init at 0.4.0

Signed-off-by: s0me1newithhand7s <s0me1newithhand7s@gmail.com>
This commit is contained in:
s0me1newithhand7s
2026-07-19 23:46:54 +03:00
parent 6386fc43da
commit 4e8a4a1312

View File

@@ -0,0 +1,38 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "statime";
version = "0.4.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "pendulum-project";
repo = "statime";
tag = "v${finalAttrs.version}";
hash = "sha256-hevR2pGBG70bnGldSyWK6MGs6lA9R1Bj8sko2WwMTvs=";
};
cargoHash = "sha256-6/XUyOYmj5g6sO8RXEofHqsM08bUObFO3GoKgG1pyI0=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Implementation of the Precision Time Protocol (PTP) in Rust";
homepage = "https://github.com/pendulum-project/statime";
changelog = "https://github.com/pendulum-project/statime/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license =
with lib.licenses;
OR [
asl20
mit
];
maintainers = with lib.maintainers; [ s0me1newithhand7s ];
mainProgram = "statime";
platforms = lib.platforms.linux;
};
})