nix-ros-overlay/distros/rolling/examples-rclcpp-multithreaded-executor/default.nix

26 lines
943 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, rclcpp, std-msgs }:
buildRosPackage {
pname = "ros-rolling-examples-rclcpp-multithreaded-executor";
version = "0.20.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclcpp_multithreaded_executor/0.20.4-1.tar.gz";
name = "0.20.4-1.tar.gz";
sha256 = "4eca37995bbf4751109b065ce73e8a5a846cc1b42b3830c3937ed43baa312aeb";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ rclcpp std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Package containing example of how to implement a multithreaded executor";
license = with lib.licenses; [ asl20 ];
};
}