2021-03-06 02:47:22 +00:00
|
|
|
|
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-04-09 14:28:48 -04:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, poco, rclcpp, rclcpp-components, sensor-msgs }:
|
2021-03-06 02:47:22 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-ntpd-driver";
|
2021-04-09 14:28:48 -04:00
|
|
|
version = "2.1.0-r1";
|
2021-03-06 02:47:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-09 14:28:48 -04:00
|
|
|
url = "https://github.com/vooon/ntpd_driver-release/archive/release/foxy/ntpd_driver/2.1.0-1.tar.gz";
|
|
|
|
name = "2.1.0-1.tar.gz";
|
|
|
|
sha256 = "6f483aa4ec01db6af0d7a058e633023080f7d69d84f2d75cfef9f4c6c9556803";
|
2021-03-06 02:47:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
2021-04-09 14:28:48 -04:00
|
|
|
propagatedBuildInputs = [ poco rclcpp rclcpp-components sensor-msgs ];
|
2021-03-06 02:47:22 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''ntpd_driver sends TimeReference message time to ntpd server'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|