mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 10:14:50 +03:00
25 lines
1 KiB
Nix
25 lines
1 KiB
Nix
|
|
# Copyright 2025 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-rolling-mrpt-generic-sensor";
|
|
version = "0.2.3-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/mrpt_sensors-release/archive/release/rolling/mrpt_generic_sensor/0.2.3-1.tar.gz";
|
|
name = "0.2.3-1.tar.gz";
|
|
sha256 = "81b59af1e63d8c1b26da85b3899fda2458e4a4d5e49f2ca7fa29970d1c9ef41a";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|