2022-12-09 19:20:15 -05:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-06-19 17:15:23 -04:00
|
|
|
{ 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, rcl, rcl-interfaces, rclcpp, rclcpp-components, rcpputils, rcutils, rmw, std-msgs }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-demo-nodes-cpp";
|
2024-11-22 13:28:00 +00:00
|
|
|
version = "0.35.1-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-11-22 13:28:00 +00:00
|
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/demo_nodes_cpp/0.35.1-1.tar.gz";
|
|
|
|
name = "0.35.1-1.tar.gz";
|
|
|
|
sha256 = "a53917758d9f2d96b656eb820b1f972e9ea12c563ed9b31556c87e557808f3c7";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2023-06-19 17:15:23 -04:00
|
|
|
buildInputs = [ ament-cmake ];
|
2022-12-09 19:20:15 -05:00
|
|
|
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros ];
|
2023-06-19 17:15:23 -04:00
|
|
|
propagatedBuildInputs = [ example-interfaces launch-ros launch-xml rcl rcl-interfaces rclcpp rclcpp-components rcpputils rcutils rmw std-msgs ];
|
2022-12-09 19:20:15 -05:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "C++ nodes which were previously in the ros2/examples repository but are now just used for demo purposes.";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|