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/humble/gpio-controllers/default.nix

27 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, control-msgs, controller-interface, controller-manager, generate-parameter-library, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-humble-gpio-controllers";
version = "2.45.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/gpio_controllers/2.45.0-1.tar.gz";
name = "2.45.0-1.tar.gz";
sha256 = "5cb56c2be68ebf66ffbbfb11c69b5be6e50f1de3e2a212841b6f96fb4f0a7d15";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake pluginlib ];
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface-testing ros2-control-test-assets ];
propagatedBuildInputs = [ control-msgs controller-interface generate-parameter-library hardware-interface rclcpp rclcpp-lifecycle realtime-tools ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Controllers to interact with gpios.";
license = with lib.licenses; [ asl20 ];
};
}