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

27 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2021 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, rclcpp, rclcpp-lifecycle, ros2launch, system-modes }:
buildRosPackage {
pname = "ros-foxy-system-modes-examples";
version = "0.4.2-r1";
src = fetchurl {
url = "https://github.com/microROS/system_modes-release/archive/release/foxy/system_modes_examples/0.4.2-1.tar.gz";
name = "0.4.2-1.tar.gz";
sha256 = "6b064430f36f46b70c1652125c87c00653926f649024ffe8bac4839b5b0d775b";
};
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 ];
propagatedBuildInputs = [ rclcpp rclcpp-lifecycle ros2launch system-modes ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Simple example system and according launch files for the system_modes
package.'';
license = with lib.licenses; [ asl20 ];
};
}