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

26 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-core, ament-cmake-gtest, ament-lint-auto, ament-lint-common, rosidl-cmake, rosidl-generator-c, rosidl-parser, rosidl-runtime-c, rosidl-runtime-cpp, test-interface-files }:
buildRosPackage {
pname = "ros-foxy-rosidl-generator-cpp";
version = "1.3.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/foxy/rosidl_generator_cpp/1.3.0-1.tar.gz";
name = "1.3.0-1.tar.gz";
sha256 = "15eeb5cd54272000cd0ac9f270ce708b2ac954a982c03267ee9fa281ad311392";
};
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 rosidl-cmake rosidl-generator-c rosidl-parser ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Generate the ROS interfaces in C++.'';
license = with lib.licenses; [ asl20 ];
};
}