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

26 lines
1.2 KiB
Nix

# 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, pluginlib, rclcpp-lifecycle, rcpputils, rcutils, realtime-tools, ros2-control-test-assets, sdformat-urdf, tinyxml2-vendor, urdf }:
buildRosPackage {
pname = "ros-jazzy-hardware-interface";
version = "4.25.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/jazzy/hardware_interface/4.25.0-1.tar.gz";
name = "4.25.0-1.tar.gz";
sha256 = "e99e9879cc20ec1240feefb49879e6821ae39ccbc23d15154c93d6b860fb5dd0";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-gen-version-h ];
checkInputs = [ ament-cmake-gmock ros2-control-test-assets ];
propagatedBuildInputs = [ backward-ros control-msgs joint-limits lifecycle-msgs pluginlib rclcpp-lifecycle rcpputils rcutils realtime-tools sdformat-urdf tinyxml2-vendor urdf ];
nativeBuildInputs = [ ament-cmake ament-cmake-gen-version-h ];
meta = {
description = "ros2_control hardware interface";
license = with lib.licenses; [ asl20 ];
};
}