mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
statime: init at 0.4.0
Signed-off-by: s0me1newithhand7s <s0me1newithhand7s@gmail.com>
This commit is contained in:
38
pkgs/by-name/st/statime/package.nix
Normal file
38
pkgs/by-name/st/statime/package.nix
Normal 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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user