mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
25 lines
1 KiB
Nix
25 lines
1 KiB
Nix
|
|
# Copyright 2024 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, mrpt-msgs, mrpt-sensorlib, mrpt2, rclcpp, rclcpp-components, ros-environment, tf2, tf2-ros }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-mrpt-sensor-imu-taobotics";
|
|
version = "0.2.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/mrpt_sensors-release/archive/release/rolling/mrpt_sensor_imu_taobotics/0.2.0-1.tar.gz";
|
|
name = "0.2.0-1.tar.gz";
|
|
sha256 = "945849154731349fac16a92669cebb0a08b3277efe64b65b57b6461ee1fb0b61";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ros-environment ];
|
|
propagatedBuildInputs = [ ament-lint-auto ament-lint-common mrpt-msgs mrpt-sensorlib mrpt2 rclcpp rclcpp-components tf2 tf2-ros ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "ROS node for Taobotics USB IMUs (based on mrpt-hwdrivers)";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|