nix-ros-overlay/distros/jazzy/ros-core/default.nix

24 lines
1.7 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-auto, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-ros, ament-index-cpp, ament-index-python, ament-lint-auto, ament-lint-common, class-loader, common-interfaces, launch, launch-ros, launch-testing, launch-testing-ament-cmake, launch-testing-ros, launch-xml, launch-yaml, pluginlib, rcl-lifecycle, rclcpp, rclcpp-action, rclcpp-lifecycle, rclpy, ros-environment, ros2cli-common-extensions, ros2launch, rosidl-default-generators, rosidl-default-runtime, sros2, sros2-cmake }:
buildRosPackage {
pname = "ros-jazzy-ros-core";
version = "0.11.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/variants-release/archive/release/jazzy/ros_core/0.11.0-1.tar.gz";
name = "0.11.0-1.tar.gz";
sha256 = "97bc6c22d29bac8da0c2a7e624983903e591093837a0e9e808c28bb7d91a71ee";
};
buildType = "ament_cmake";
propagatedBuildInputs = [ ament-cmake ament-cmake-auto ament-cmake-gmock ament-cmake-gtest ament-cmake-pytest ament-cmake-ros ament-index-cpp ament-index-python ament-lint-auto ament-lint-common class-loader common-interfaces launch launch-ros launch-testing launch-testing-ament-cmake launch-testing-ros launch-xml launch-yaml pluginlib rcl-lifecycle rclcpp rclcpp-action rclcpp-lifecycle rclpy ros-environment ros2cli-common-extensions ros2launch rosidl-default-generators rosidl-default-runtime sros2 sros2-cmake ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "A package to aggregate the packages required to use publish / subscribe, services, generate messages and other core ROS concepts.";
license = with lib.licenses; [ asl20 ];
};
}