2021-05-28 23:33:17 +00:00
|
|
|
|
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-06-25 12:45: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 }:
|
2021-05-28 23:33:17 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-galactic-system-modes-examples";
|
2021-06-25 12:45:04 +00:00
|
|
|
version = "0.8.0-r1";
|
2021-05-28 23:33:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-25 12:45:04 +00:00
|
|
|
url = "https://github.com/ros2-gbp/system_modes-release/archive/release/galactic/system_modes_examples/0.8.0-1.tar.gz";
|
|
|
|
name = "0.8.0-1.tar.gz";
|
|
|
|
sha256 = "ada88f621f2ae43f067d76a68f0250f98458f879c035589136defc701536a119";
|
2021-05-28 23:33:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
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-25 12:45:04 +00:00
|
|
|
propagatedBuildInputs = [ launch launch-system-modes rclcpp rclcpp-lifecycle ros2launch system-modes system-modes-msgs ];
|
2021-05-28 23:33:17 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2021-06-25 12:45:04 +00:00
|
|
|
description = ''Example systems and according launch files for the system_modes
|
2021-05-28 23:33:17 +00:00
|
|
|
package.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|