2020-06-12 18:02:43 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-06-11 22:09:04 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-flake8, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-pep257, ament-cmake-uncrustify, ament-lint-auto, launch, launch-system-modes, rclcpp, rclcpp-lifecycle, ros2launch, system-modes, system-modes-msgs }:
|
2020-06-12 18:02:43 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-system-modes-examples";
|
2021-07-23 13:01:27 +00:00
|
|
|
version = "0.9.0-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-23 13:01:27 +00:00
|
|
|
url = "https://github.com/microROS/system_modes-release/archive/release/foxy/system_modes_examples/0.9.0-1.tar.gz";
|
|
|
|
name = "0.9.0-1.tar.gz";
|
|
|
|
sha256 = "a74870f22ec802c61895f8330ef7b6a10cb6697dc5629c2bc75abc3a4bef4d13";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2020-08-24 18:45:07 -04:00
|
|
|
checkInputs = [ ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-flake8 ament-cmake-gmock ament-cmake-gtest ament-cmake-pep257 ament-cmake-uncrustify ament-lint-auto ];
|
2021-06-11 22:09:04 +00:00
|
|
|
propagatedBuildInputs = [ launch launch-system-modes rclcpp rclcpp-lifecycle ros2launch system-modes system-modes-msgs ];
|
2020-06-12 18:02:43 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2021-06-11 22:09:04 +00:00
|
|
|
description = ''Example systems and according launch files for the system_modes
|
2020-10-23 13:30:31 +00:00
|
|
|
package.'';
|
2020-06-12 18:02:43 -04:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|