nix-ros-overlay/distros/jazzy/hardware-interface-testing/default.nix

27 lines
1.1 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, control-msgs, hardware-interface, lifecycle-msgs, pluginlib, rclcpp-lifecycle, ros2-control-cmake, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-jazzy-hardware-interface-testing";
version = "4.29.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/jazzy/hardware_interface_testing/4.29.0-1.tar.gz";
name = "4.29.0-1.tar.gz";
sha256 = "718c35d888dd5fb36084c988fa47cc02bcb1a8f3c0ea7a88a587e68b2136772f";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ros2-control-cmake ];
checkInputs = [ ament-cmake-gmock ];
propagatedBuildInputs = [ control-msgs hardware-interface lifecycle-msgs pluginlib rclcpp-lifecycle ros2-control-test-assets ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Commonly used test fixtures for the ros2_control framework";
license = with lib.licenses; [ asl20 ];
};
}