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

26 lines
1.1 KiB
Nix

# 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-lifecycle, rclcpp, rcpputils, rcutils, rmw, rosidl-typesupport-cpp, test-msgs }:
buildRosPackage {
pname = "ros-humble-rclcpp-lifecycle";
version = "16.0.12-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclcpp-release/archive/release/humble/rclcpp_lifecycle/16.0.12-1.tar.gz";
name = "16.0.12-1.tar.gz";
sha256 = "4f514c81e9fb9945c59cb94e9b66bb5ee53adc26060d3556f81e26958e5e78ff";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common mimick-vendor performance-test-fixture rcpputils rcutils test-msgs ];
propagatedBuildInputs = [ lifecycle-msgs rcl-lifecycle rclcpp rmw rosidl-typesupport-cpp ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Package containing a prototype for lifecycle implementation";
license = with lib.licenses; [ asl20 ];
};
}