1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/humble/hardware-interface/default.nix

27 lines
1 KiB
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, control-msgs, lifecycle-msgs, pluginlib, rclcpp-lifecycle, rcpputils, rcutils, ros2-control-test-assets, tinyxml2-vendor }:
buildRosPackage {
pname = "ros-humble-hardware-interface";
version = "2.43.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/humble/hardware_interface/2.43.1-1.tar.gz";
name = "2.43.1-1.tar.gz";
sha256 = "6f2cf3b6705c104bcf0bf1852ec6d8f00269d9a2c8ba9819ca8143df3c0b3145";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock ros2-control-test-assets ];
propagatedBuildInputs = [ control-msgs lifecycle-msgs pluginlib rclcpp-lifecycle rcpputils rcutils tinyxml2-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "ros2_control hardware interface";
license = with lib.licenses; [ asl20 ];
};
}