nix-ros-overlay/distros/jazzy/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, ament-cmake-gtest, control-msgs, eigen, filters, generate-parameter-library, geometry-msgs, pluginlib, rclcpp, rclcpp-lifecycle, rcutils, realtime-tools }:
buildRosPackage {
pname = "ros-jazzy-control-toolbox";
version = "4.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/control_toolbox-release/archive/release/jazzy/control_toolbox/4.0.0-1.tar.gz";
name = "4.0.0-1.tar.gz";
sha256 = "3cf2ae908c8b74517930627183524031c69f4e052290bafb035aa09c649ef547";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock ament-cmake-gtest 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 ];
};
}