1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/humble/ntpd-driver/default.nix

27 lines
935 B
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, poco, rclcpp, rclcpp-components, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-ntpd-driver";
version = "2.2.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ntpd_driver-release/archive/release/humble/ntpd_driver/2.2.0-1.tar.gz";
name = "2.2.0-1.tar.gz";
sha256 = "78785bac0c28b57cd11f050e4235974983d7a5df0b2913d92931f765d2714a86";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ poco rclcpp rclcpp-components sensor-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "ntpd_driver sends TimeReference message time to ntpd server";
license = with lib.licenses; [ bsdOriginal ];
};
}