nix-ros-overlay/distros/foxy/udp-driver/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

26 lines
1.2 KiB
Nix

# Copyright 2023 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-foxy-udp-driver";
version = "1.0.0-r1";
src = fetchurl {
url = "https://github.com/ros-drivers-gbp/transport_drivers-release/archive/release/foxy/udp_driver/1.0.0-1.tar.gz";
name = "1.0.0-1.tar.gz";
sha256 = "86f5a94b58a8d74940bb43bcc3cbbddc670b3015150a0b077e977c5bd8169be3";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto asio-cmake-module ];
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 ];
};
}