mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 22:20:34 +03:00
26 lines
932 B
Nix
26 lines
932 B
Nix
![]() |
|
||
|
# Copyright 2020 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, class-loader, poco, rclcpp, rclcpp-components, sensor-msgs }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-eloquent-ntpd-driver";
|
||
|
version = "2.0.1-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/vooon/ntpd_driver-release/archive/release/eloquent/ntpd_driver/2.0.1-1.tar.gz";
|
||
|
name = "2.0.1-1.tar.gz";
|
||
|
sha256 = "29353708c5a57a7e9160b6d36fae0bbf4c4f97db6d3a909019bf7db6cc64ed77";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
||
|
propagatedBuildInputs = [ class-loader 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 ];
|
||
|
};
|
||
|
}
|