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, rclcpp, rclcpp-components, ros-environment, sensor-msgs, tf2, tf2-geometry-msgs, tf2-ros }:
|
|
buildRosPackage {
|
|
pname = "ros-iron-mrpt-generic-sensor";
|
|
version = "0.2.3-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/mrpt_sensors-release/archive/release/iron/mrpt_generic_sensor/0.2.3-1.tar.gz";
|
|
name = "0.2.3-1.tar.gz";
|
|
sha256 = "69141b0c87d8dabe2b941fd59aa8f96da0e11c6a3553253cab06f4766b838eb6";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ros-environment ];
|
|
propagatedBuildInputs = [ ament-lint-auto ament-lint-common mrpt-msgs mrpt-sensorlib rclcpp rclcpp-components sensor-msgs tf2 tf2-geometry-msgs tf2-ros ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "ROS node for interfacing any sensor supported by mrpt-hwdrivers";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|