diff --git a/pkgs/by-name/nt/ntpd-rs/package.nix b/pkgs/by-name/nt/ntpd-rs/package.nix index 9bd6934cd58cc..43df56ac024e2 100644 --- a/pkgs/by-name/nt/ntpd-rs/package.nix +++ b/pkgs/by-name/nt/ntpd-rs/package.nix @@ -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; };