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

27 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2024 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.5.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/rolling/rosidl_generator_cpp/4.5.1-2.tar.gz";
name = "4.5.1-2.tar.gz";
sha256 = "b4463c1457ab7e3c44dc167234265176d2470258ac004345067b00b90565e710";
};
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 ];
};
}