1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/galactic/hardware-interface/default.nix

26 lines
1 KiB
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-lint-auto, ament-lint-common, control-msgs, pluginlib, rclcpp-lifecycle, rcpputils, rcutils, ros2-control-test-assets, tinyxml2-vendor }:
buildRosPackage {
pname = "ros-galactic-hardware-interface";
version = "1.2.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/galactic/hardware_interface/1.2.0-1.tar.gz";
name = "1.2.0-1.tar.gz";
sha256 = "175ab31444041670e4ae1e6247d65bc6a310e26855d88b553737498b5c32fe46";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common ros2-control-test-assets ];
propagatedBuildInputs = [ control-msgs pluginlib rclcpp-lifecycle rcpputils rcutils tinyxml2-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''ROS2 ros_control hardware interface'';
license = with lib.licenses; [ asl20 ];
};
}