ntpd-rs: 1.2.3 -> 1.3.0 (#343108)

This commit is contained in:
Franz Pletz 2024-09-20 07:11:28 +02:00 committed by GitHub
commit 79454ee9aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,16 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "ntpd-rs";
version = "1.2.3";
version = "1.3.0";
src = fetchFromGitHub {
owner = "pendulum-project";
repo = "ntpd-rs";
rev = "v${version}";
hash = "sha256-Yf1cPv4SpmbL3o9uf3fJ/n0/ZW0wdhW/bbe2hRxDdyY=";
rev = "refs/tags/v${version}";
hash = "sha256-0fbl50kugqYHeS+9a/kCkwy1wPDqDCYwPIGZ37NFa/Y=";
};
cargoHash = "sha256-H3pK/MSv7/YDEtnW2mi2xt5x2t3ugCc4IN43wohM4Ig=";
cargoHash = "sha256-9HLbGC6j0Wq/lG//CeEAfnYzlGG14CnDpmluL1moHWQ=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk_11_0.frameworks.Security ];
nativeBuildInputs = [
@ -74,7 +74,6 @@ rustPlatform.buildRustPackage rec {
description = "Full-featured implementation of the Network Time Protocol";
homepage = "https://tweedegolf.nl/en/pendulum";
changelog = "https://github.com/pendulum-project/ntpd-rs/blob/v${version}/CHANGELOG.md";
mainProgram = "ntp-ctl";
license = with lib.licenses; [
mit # or
asl20
@ -83,6 +82,7 @@ rustPlatform.buildRustPackage rec {
fpletz
getchoo
];
mainProgram = "ntp-ctl";
# note: Undefined symbols for architecture x86_64: "_ntp_adjtime"
broken = stdenv.isDarwin && stdenv.isx86_64;
};