nix-ros-overlay/distros/rolling/examples-rclcpp-minimal-composition/default.nix

28 lines
963 B
Nix
Raw Normal View History

# 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, rclcpp-components, std-msgs }:
buildRosPackage {
pname = "ros-rolling-examples-rclcpp-minimal-composition";
version = "0.20.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclcpp_minimal_composition/0.20.4-1.tar.gz";
name = "0.20.4-1.tar.gz";
sha256 = "fe0483d19bfc7c91457bdfaed0d885a8269a5c905988e514db1fcc1dc9a56cc6";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ rclcpp rclcpp-components std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Minimalist examples of composing nodes in the same
process";
license = with lib.licenses; [ asl20 ];
};
}