1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/galactic/rosidl-generator-cpp/default.nix

25 lines
1.1 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-core, ament-cmake-gtest, ament-index-python, ament-lint-auto, ament-lint-common, rosidl-cli, rosidl-cmake, rosidl-generator-c, rosidl-parser, rosidl-runtime-c, rosidl-runtime-cpp, test-interface-files }:
buildRosPackage {
pname = "ros-galactic-rosidl-generator-cpp";
version = "2.2.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/galactic/rosidl_generator_cpp/2.2.1-2.tar.gz";
name = "2.2.1-2.tar.gz";
sha256 = "d4e59dfb7cee9fcb7399986bc4208a4cad716006c8db22d53dd8ce943779dede";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common rosidl-cmake rosidl-runtime-c rosidl-runtime-cpp test-interface-files ];
propagatedBuildInputs = [ ament-cmake-core ament-index-python rosidl-cli rosidl-cmake rosidl-generator-c rosidl-parser ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Generate the ROS interfaces in C++.'';
license = with lib.licenses; [ asl20 ];
};
}