# Copyright 2025 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, can-msgs, lifecycle-msgs, rclcpp, rclcpp-components, rclcpp-lifecycle, ros2-socketcan-msgs }: buildRosPackage { pname = "ros-humble-ros2-socketcan"; version = "1.3.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/humble/ros2_socketcan/1.3.0-1.tar.gz"; name = "1.3.0-1.tar.gz"; sha256 = "ae630faf4e297b46c1115c3e3343c7e0b11a7edcb9cfd805aa83c292bc9f4bfb"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-auto ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ can-msgs lifecycle-msgs rclcpp rclcpp-components rclcpp-lifecycle ros2-socketcan-msgs ]; nativeBuildInputs = [ ament-cmake-auto ]; meta = { description = "Simple wrapper around SocketCAN"; license = with lib.licenses; [ asl20 ]; }; }