nix-ros-overlay/distros/jazzy/imu-sensor-broadcaster/default.nix

26 lines
1.3 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-lint-auto, ament-lint-common, backward-ros, controller-interface, controller-manager, generate-parameter-library, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets, sensor-msgs }:
buildRosPackage {
pname = "ros-jazzy-imu-sensor-broadcaster";
version = "4.21.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/jazzy/imu_sensor_broadcaster/4.21.0-1.tar.gz";
name = "4.21.0-1.tar.gz";
sha256 = "aa97158015e88f93e9b19ab59d0a356d53822ab153c56747703f3d4025815e0b";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common controller-manager hardware-interface-testing ros2-control-test-assets ];
propagatedBuildInputs = [ backward-ros controller-interface generate-parameter-library hardware-interface pluginlib rclcpp rclcpp-lifecycle realtime-tools sensor-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Controller to publish readings of IMU sensors.";
license = with lib.licenses; [ asl20 ];
};
}