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

25 lines
1.1 KiB
Nix

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