# 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-rolling-demo-nodes-cpp"; version = "0.23.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/demo_nodes_cpp/0.23.0-1.tar.gz"; name = "0.23.0-1.tar.gz"; sha256 = "cd5ef8d9f4979011b03df73b0bdff65e564fc1436096ae16b0d218c95e088d31"; }; 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 ]; }; }