1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/iron/imu-sensor-broadcaster/default.nix

27 lines
1.3 KiB
Nix
Raw Normal View History

# Copyright 2024 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-iron-imu-sensor-broadcaster";
version = "3.28.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/iron/imu_sensor_broadcaster/3.28.0-1.tar.gz";
name = "3.28.0-1.tar.gz";
sha256 = "7c2c16467a2c4075042878dd3e3084127215ef58be874c4f75f605dfc63b7a03";
};
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 ];
};
}