1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/rolling/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-rolling-imu-sensor-broadcaster";
version = "4.18.0-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/rolling/imu_sensor_broadcaster/4.18.0-2.tar.gz";
name = "4.18.0-2.tar.gz";
sha256 = "b630abc095f35f6fe54faab0c9f3315443179de2544ea676629058558f09dd65";
};
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 ];
};
}