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

26 lines
951 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, lifecycle-msgs, rclcpp, rclcpp-lifecycle, ros-testing, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-lifecycle";
version = "0.33.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/jazzy/lifecycle/0.33.5-1.tar.gz";
name = "0.33.5-1.tar.gz";
sha256 = "47f20b0c9a292819692538d83a3d30c067c40523126d6059c5c7e7b970113d6c";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ros-testing ];
propagatedBuildInputs = [ lifecycle-msgs rclcpp rclcpp-lifecycle std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Package containing demos for lifecycle implementation";
license = with lib.licenses; [ asl20 ];
};
}