2019-09-04 17:11:04 -04:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-09-04 17:11:04 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, example-interfaces, launch, launch-ros, launch-testing, rclcpp, rcutils, rmw, rmw-implementation-cmake, std-msgs }:
|
2019-09-04 17:11:04 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-crystal-demo-nodes-cpp";
|
|
|
|
version = "0.6.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-06 12:21:13 -04:00
|
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/crystal/demo_nodes_cpp/0.6.2-0.tar.gz";
|
|
|
|
name = "0.6.2-0.tar.gz";
|
2019-09-04 17:11:04 -04:00
|
|
|
sha256 = "5def106eb042cfb5259c31fac8c3a80da34a4949ea5f731fd4907f3606df812f";
|
|
|
|
};
|
|
|
|
|
2019-09-05 22:48:11 -04:00
|
|
|
buildType = "ament_cmake";
|
2019-12-09 23:36:28 -05:00
|
|
|
buildInputs = [ rmw-implementation-cmake ];
|
|
|
|
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing ];
|
|
|
|
propagatedBuildInputs = [ example-interfaces launch-ros rclcpp rcutils rmw std-msgs ];
|
2019-09-04 17:11:04 -04:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|