1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-23 23:39:54 +03:00
nix-ros-overlay/distros/rolling/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-rolling-hardware-interface";
version = "4.7.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/rolling/hardware_interface/4.7.0-1.tar.gz";
name = "4.7.0-1.tar.gz";
sha256 = "bb0bba90ed989c5a260055fdd6db378b7a5db59148c9cb9e33645a1add1ad1a9";
};
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 ];
};
}