# Copyright 2023 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, example-interfaces, launch, launch-ros, launch-testing, launch-testing-ament-cmake, launch-testing-ros, launch-xml, rclcpp, rclcpp-components, rcutils, rmw, rmw-implementation-cmake, std-msgs }: buildRosPackage { pname = "ros-foxy-demo-nodes-cpp"; version = "0.9.4-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/demos-release/archive/release/foxy/demo_nodes_cpp/0.9.4-1.tar.gz"; name = "0.9.4-1.tar.gz"; sha256 = "2e58144a7f22097a27776c01c378c0406aa47a924850819ed9081e9ed2ff232b"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake rmw-implementation-cmake ]; checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros ]; propagatedBuildInputs = [ example-interfaces launch-ros launch-xml rclcpp rclcpp-components rcutils rmw std-msgs ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = ''C++ nodes which were previously in the ros2/examples repository but are now just used for demo purposes.''; license = with lib.licenses; [ asl20 ]; }; }