1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/foxy/system-modes-examples/default.nix

28 lines
1.3 KiB
Nix
Raw Normal View History

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ 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 }:
buildRosPackage {
pname = "ros-foxy-system-modes-examples";
version = "0.9.0-r1";
src = fetchurl {
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";
};
buildType = "ament_cmake";
buildInputs = [ 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 ];
propagatedBuildInputs = [ launch launch-system-modes rclcpp rclcpp-lifecycle ros2launch system-modes system-modes-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Example systems and according launch files for the system_modes
package.'';
license = with lib.licenses; [ asl20 ];
};
}