# 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-jazzy-ros2-socketcan"; version = "1.3.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/jazzy/ros2_socketcan/1.3.0-1.tar.gz"; name = "1.3.0-1.tar.gz"; sha256 = "6746526f0edee27ab04b92805c5a831415cdf2095c370e3ac2f5d0a57f486066"; }; 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 ]; }; }