# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gen-version-h, ament-cmake-gmock, backward-ros, control-msgs, joint-limits, lifecycle-msgs, pal-statistics, pluginlib, rclcpp-lifecycle, rcpputils, rcutils, realtime-tools, ros2-control-cmake, ros2-control-test-assets, sdformat-urdf, tinyxml2-vendor, urdf }: buildRosPackage { pname = "ros-rolling-hardware-interface"; version = "4.29.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/rolling/hardware_interface/4.29.0-1.tar.gz"; name = "4.29.0-1.tar.gz"; sha256 = "983c36da65a8302e2dadaf1d48434a0dea655594526eb8bb7f581f223cf5bded"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ament-cmake-gen-version-h ros2-control-cmake ]; checkInputs = [ ament-cmake-gmock ros2-control-test-assets ]; propagatedBuildInputs = [ backward-ros control-msgs joint-limits lifecycle-msgs pal-statistics pluginlib rclcpp-lifecycle rcpputils rcutils realtime-tools sdformat-urdf tinyxml2-vendor urdf ]; nativeBuildInputs = [ ament-cmake ament-cmake-gen-version-h ]; meta = { description = "Base classes for hardware abstraction and tooling for them"; license = with lib.licenses; [ asl20 ]; }; }