# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, boost, canopen-interfaces, lely-core-libraries, lifecycle-msgs, rclcpp, rclcpp-components, rclcpp-lifecycle, yaml-cpp-vendor }: buildRosPackage { pname = "ros-humble-canopen-core"; version = "0.2.11-r2"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_canopen-release/archive/release/humble/canopen_core/0.2.11-2.tar.gz"; name = "0.2.11-2.tar.gz"; sha256 = "681d5dfa46054ad6c41427f6922a23aa3990d51e5a75ea90d3ec5736f8dda136"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ]; checkInputs = [ ament-lint-auto ]; propagatedBuildInputs = [ boost canopen-interfaces lely-core-libraries lifecycle-msgs rclcpp rclcpp-components rclcpp-lifecycle yaml-cpp-vendor ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = "Core ros2_canopen functionalities such as DeviceContainer and master"; license = with lib.licenses; [ asl20 ]; }; }