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

ntpd-rs: 1.5.0 -> 1.6.0 (#421181)

parents 70869c10 1f73b45f
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -13,17 +13,17 @@

rustPlatform.buildRustPackage rec {
  pname = "ntpd-rs";
  version = "1.5.0";
  version = "1.6.0";

  src = fetchFromGitHub {
    owner = "pendulum-project";
    repo = "ntpd-rs";
    tag = "v${version}";
    hash = "sha256-APQHxlsyUMA1N6FatQvotOokxNikOO22GGyXUMh3ABo=";
    hash = "sha256-PX3vNrw/EM1d7/9JuxhfHG63dIULNUYWs0PGbOC7AcA=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-BiLYKOgmmqOesfl/8y4590Xo2Z4+u/Rn7CglNjQk2bU=";
  cargoHash = "sha256-lBwhaoRdYOmfVSYKmeBbLp/D7cZ43z3CEnyt7sVVRlw=";

  nativeBuildInputs = [
    pandoc
@@ -39,14 +39,6 @@ rustPlatform.buildRustPackage rec {
    source utils/generate-man.sh
  '';

  # lots of flaky tests
  doCheck = false;

  checkFlags = [
    # doesn't find the testca
    "--skip=daemon::keyexchange::tests"
  ];

  postInstall = ''
    install -Dm444 -t $out/lib/systemd/system docs/examples/conf/{ntpd-rs,ntpd-rs-metrics}.service
    installManPage docs/precompiled/man/{ntp.toml.5,ntp-ctl.8,ntp-daemon.8,ntp-metrics-exporter.8}