1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00
nix-ros-overlay/distros/humble/grid-map-demos/default.nix

26 lines
1.5 KiB
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, cv-bridge, geometry-msgs, grid-map-cmake-helpers, grid-map-core, grid-map-cv, grid-map-filters, grid-map-loader, grid-map-msgs, grid-map-octomap, grid-map-ros, grid-map-rviz-plugin, grid-map-visualization, octomap-msgs, octomap-rviz-plugins, octomap-server, python3Packages, rclcpp, rclpy, rviz2, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-grid-map-demos";
version = "2.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/grid_map-release/archive/release/humble/grid_map_demos/2.0.0-1.tar.gz";
name = "2.0.0-1.tar.gz";
sha256 = "58fc005c21ca0ea2e3f9fa9acde5e8a86169a30d36adf80e3f24bf217e1f2c54";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake grid-map-cmake-helpers ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ cv-bridge geometry-msgs grid-map-core grid-map-cv grid-map-filters grid-map-loader grid-map-msgs grid-map-octomap grid-map-ros grid-map-rviz-plugin grid-map-visualization octomap-msgs octomap-rviz-plugins octomap-server python3Packages.opencv4 rclcpp rclpy rviz2 sensor-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Demo nodes to demonstrate the usage of the grid map library.'';
license = with lib.licenses; [ bsdOriginal ];
};
}