1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/galactic/udp-driver/default.nix

25 lines
933 B
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, boost, rclcpp, std-msgs }:
buildRosPackage {
pname = "ros-galactic-udp-driver";
version = "0.0.6-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/transport_drivers-release/archive/release/galactic/udp_driver/0.0.6-2.tar.gz";
name = "0.0.6-2.tar.gz";
sha256 = "61f3c125877c2372c552f40ba7567526eb4fb464e191c33b4fedc254a3c3c860";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ boost rclcpp std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''A template class and associated utilities which encapsulate basic reading from UDP sockets'';
license = with lib.licenses; [ asl20 ];
};
}