1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/rolling/hardware-interface/default.nix

26 lines
1 KiB
Nix

# Copyright 2023 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-rolling-hardware-interface";
version = "3.20.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/rolling/hardware_interface/3.20.0-1.tar.gz";
name = "3.20.0-1.tar.gz";
sha256 = "426802d49ed97df8e9ad709d0fed40471abdca2c8ac0bda60c8476f3dd972c75";
};
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 ];
};
}