mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 09:52:22 +03:00
26 lines
1.2 KiB
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-cmake-gtest, ament-index-python, ament-lint-auto, ament-lint-common, python3, rosidl-cli, rosidl-cmake, rosidl-generator-c, rosidl-parser, rosidl-runtime-c, rosidl-runtime-cpp, test-interface-files }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-rosidl-generator-cpp";
|
|
version = "3.1.6-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/rosidl-release/archive/release/humble/rosidl_generator_cpp/3.1.6-1.tar.gz";
|
|
name = "3.1.6-1.tar.gz";
|
|
sha256 = "3d440f4ce9df5f2bc9013d5d1103a4d37dc61b7e812609048451abd0be440467";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ 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 python3 rosidl-cli rosidl-cmake rosidl-generator-c rosidl-parser rosidl-runtime-cpp ];
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-core python3 rosidl-cmake ];
|
|
|
|
meta = {
|
|
description = "Generate the ROS interfaces in C++.";
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|