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/rviz2/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-lint-cmake, ament-cmake-pytest, ament-cmake-uncrustify, ament-cmake-xmllint, ament-lint-auto, geometry-msgs, python3, python3Packages, qt5, rclcpp, rviz-common, rviz-default-plugins, rviz-ogre-vendor, sensor-msgs }:
buildRosPackage {
pname = "ros-iron-rviz2";
version = "12.4.10-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rviz-release/archive/release/iron/rviz2/12.4.10-1.tar.gz";
name = "12.4.10-1.tar.gz";
sha256 = "82f6be65d7f0c680dd56d968ba1f73f5d0f6d38d5c2b3a6d74459db1894c71bb";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake qt5.qtbase ];
checkInputs = [ ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-lint-cmake ament-cmake-pytest ament-cmake-uncrustify ament-cmake-xmllint ament-lint-auto geometry-msgs python3Packages.pyyaml rclcpp sensor-msgs ];
propagatedBuildInputs = [ python3 rviz-common rviz-default-plugins rviz-ogre-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "3D visualization tool for ROS.";
license = with lib.licenses; [ bsdOriginal ];
};
}