nix-ros-overlay/distros/jazzy/rosidl-generator-c/default.nix

26 lines
1.3 KiB
Nix

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