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

26 lines
941 B
Nix

# Copyright 2024 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-humble-examples-rclcpp-multithreaded-executor";
version = "0.15.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/humble/examples_rclcpp_multithreaded_executor/0.15.2-1.tar.gz";
name = "0.15.2-1.tar.gz";
sha256 = "ec7e60d9b39938886baf59cbb1611d29495318f93f0e2aa4b3e3ad4c358cda6e";
};
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 ];
};
}