nix-ros-overlay/distros/rolling/control-toolbox/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, control-msgs, eigen, filters, generate-parameter-library, geometry-msgs, pluginlib, rclcpp, rclcpp-lifecycle, rcutils, realtime-tools }:
buildRosPackage {
pname = "ros-rolling-control-toolbox";
version = "5.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/control_toolbox-release/archive/release/rolling/control_toolbox/5.0.0-1.tar.gz";
name = "5.0.0-1.tar.gz";
sha256 = "ca5e5df2e6b44b04983aa63c14202a6478e0f44552e33f52acbf15d2f880fd76";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock rclcpp-lifecycle ];
propagatedBuildInputs = [ control-msgs eigen filters generate-parameter-library geometry-msgs pluginlib rclcpp rcutils realtime-tools ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "The control toolbox contains modules that are useful across all controllers.";
license = with lib.licenses; [ asl20 ];
};
}