1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/rolling/ros2-control/default.nix

25 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, controller-interface, controller-manager, controller-manager-msgs, hardware-interface, joint-limits, ros2-control-test-assets, ros2controlcli, transmission-interface }:
buildRosPackage {
pname = "ros-rolling-ros2-control";
version = "4.27.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/rolling/ros2_control/4.27.0-1.tar.gz";
name = "4.27.0-1.tar.gz";
sha256 = "1fc4db7143aece0e8cc9a93602e1f6fefcf9e136f54fe98a82adac03959f0aef";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
propagatedBuildInputs = [ controller-interface controller-manager controller-manager-msgs hardware-interface joint-limits ros2-control-test-assets ros2controlcli transmission-interface ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Metapackage for ROS2 control related packages";
license = with lib.licenses; [ asl20 ];
};
}