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/rolling/rosidl-generator-cpp/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-core, ament-index-python, ament-lint-auto, ament-lint-common, python3, rosidl-cli, rosidl-cmake, rosidl-generator-c, rosidl-generator-type-description, rosidl-parser, rosidl-pycommon, rosidl-runtime-cpp }:
buildRosPackage {
pname = "ros-rolling-rosidl-generator-cpp";
version = "4.9.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/rolling/rosidl_generator_cpp/4.9.3-1.tar.gz";
name = "4.9.3-1.tar.gz";
sha256 = "b0aabd94329bdbfed518ea3050ba4216e9d5f3aca54257794cab874ba9dcd25f";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ament-cmake-core ament-index-python python3 rosidl-cli rosidl-cmake rosidl-generator-c rosidl-generator-type-description rosidl-parser rosidl-pycommon rosidl-runtime-cpp ];
nativeBuildInputs = [ ament-cmake ament-cmake-core python3 rosidl-pycommon ];
meta = {
description = "Generate the ROS interfaces in C++.";
license = with lib.licenses; [ asl20 ];
};
}