nix-ros-overlay/eloquent/rviz-rendering/default.nix

25 lines
1.2 KiB
Nix

# Copyright 2019 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-gmock, ament-cmake-gtest, ament-cmake-lint-cmake, ament-cmake-uncrustify, ament-index-cpp, eigen, eigen3-cmake-module, qt5, resource-retriever, rviz-assimp-vendor, rviz-ogre-vendor }:
buildRosPackage {
pname = "ros-eloquent-rviz-rendering";
version = "7.0.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rviz-release/archive/release/eloquent/rviz_rendering/7.0.3-1.tar.gz";
name = "7.0.3-1.tar.gz";
sha256 = "c7a44ab0fd6aa63bababcd640968d8308cd75383a69ef7a20ac1716096de9844";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-gmock ament-cmake-gtest ament-cmake-lint-cmake ament-cmake-uncrustify rviz-assimp-vendor ];
propagatedBuildInputs = [ ament-index-cpp eigen eigen3-cmake-module qt5.qtbase resource-retriever rviz-assimp-vendor rviz-ogre-vendor ];
nativeBuildInputs = [ ament-cmake eigen3-cmake-module ];
meta = {
description = ''Library which provides the 3D rendering functionality in rviz.'';
license = with lib.licenses; [ bsdOriginal ];
};
}