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

26 lines
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, hardware-interface, lifecycle-msgs, pluginlib, rclcpp-lifecycle, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-humble-hardware-interface-testing";
version = "2.50.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/humble/hardware_interface_testing/2.50.0-1.tar.gz";
name = "2.50.0-1.tar.gz";
sha256 = "771411fb98fa6890a3f6fcb3203e3ce8b4497c1677ddc924311397e2f4d7414d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock ];
propagatedBuildInputs = [ control-msgs hardware-interface lifecycle-msgs pluginlib rclcpp-lifecycle ros2-control-test-assets ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "ros2_control hardware interface testing";
license = with lib.licenses; [ asl20 ];
};
}