Unverified Commit 79454ee9 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

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

parents b7a0ca2c 566819b0
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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;
  };