nix-ros-overlay/distros/rolling/rclcpp-lifecycle/default.nix

27 lines
1.2 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, lifecycle-msgs, mimick-vendor, performance-test-fixture, rcl, rcl-interfaces, rcl-lifecycle, rclcpp, rcpputils, rcutils, rmw, rosidl-typesupport-cpp, test-msgs }:
buildRosPackage {
pname = "ros-rolling-rclcpp-lifecycle";
version = "29.6.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclcpp-release/archive/release/rolling/rclcpp_lifecycle/29.6.0-1.tar.gz";
name = "29.6.0-1.tar.gz";
sha256 = "f582fb6d8884c46bb61da29400cb8272500706cde6622b655cd0329d6f968974";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common mimick-vendor performance-test-fixture rcpputils test-msgs ];
propagatedBuildInputs = [ lifecycle-msgs rcl rcl-interfaces rcl-lifecycle rclcpp rcutils rmw rosidl-typesupport-cpp ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Package containing a prototype for lifecycle implementation";
license = with lib.licenses; [ asl20 ];
};
}