nix-ros-overlay/distros/jazzy/hardware-interface/default.nix

27 lines
1.3 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gen-version-h, ament-cmake-gmock, backward-ros, control-msgs, joint-limits, lifecycle-msgs, pal-statistics, pluginlib, rclcpp-lifecycle, rcpputils, rcutils, realtime-tools, ros2-control-cmake, ros2-control-test-assets, sdformat-urdf, tinyxml2-vendor, urdf }:
buildRosPackage {
pname = "ros-jazzy-hardware-interface";
version = "4.29.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/jazzy/hardware_interface/4.29.0-1.tar.gz";
name = "4.29.0-1.tar.gz";
sha256 = "7036929a47c0aec5485353d139186222975eb915f8e269d1ca08a5189ec6a4eb";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-gen-version-h ros2-control-cmake ];
checkInputs = [ ament-cmake-gmock ros2-control-test-assets ];
propagatedBuildInputs = [ backward-ros control-msgs joint-limits lifecycle-msgs pal-statistics pluginlib rclcpp-lifecycle rcpputils rcutils realtime-tools sdformat-urdf tinyxml2-vendor urdf ];
nativeBuildInputs = [ ament-cmake ament-cmake-gen-version-h ];
meta = {
description = "Base classes for hardware abstraction and tooling for them";
license = with lib.licenses; [ asl20 ];
};
}