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/udp-driver/default.nix
2022-06-11 13:21:09 -04:00

25 lines
1.1 KiB
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-gtest, ament-lint-auto, ament-lint-common, asio, asio-cmake-module, io-context, lifecycle-msgs, rclcpp, rclcpp-components, rclcpp-lifecycle, std-msgs, udp-msgs }:
buildRosPackage {
pname = "ros-humble-udp-driver";
version = "1.2.0-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/transport_drivers-release/archive/release/humble/udp_driver/1.2.0-2.tar.gz";
name = "1.2.0-2.tar.gz";
sha256 = "26c1f3eb0952857d22041f36426c511aacbbe9eec297b1bb7959ab5ec2df57b7";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ asio io-context lifecycle-msgs rclcpp rclcpp-components rclcpp-lifecycle std-msgs udp-msgs ];
nativeBuildInputs = [ ament-cmake-auto asio-cmake-module ];
meta = {
description = ''A library to write Synchronous and Asynchronous networking applications, ROS and ROS2 nodes'';
license = with lib.licenses; [ asl20 ];
};
}