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/foxy/hardware-interface/default.nix

25 lines
1,004 B
Nix

# 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, rcpputils, rcutils, ros2-control-test-assets, tinyxml2-vendor }:
buildRosPackage {
pname = "ros-foxy-hardware-interface";
version = "0.5.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_control-release/archive/release/foxy/hardware_interface/0.5.0-1.tar.gz";
name = "0.5.0-1.tar.gz";
sha256 = "e0691ae6b4fa56fefb121107633353fc9e7295fc48b0ac2cb1bf07ed06a66baa";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common ros2-control-test-assets ];
propagatedBuildInputs = [ control-msgs pluginlib rcpputils rcutils tinyxml2-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''ROS2 ros_control hardware interface'';
license = with lib.licenses; [ asl20 ];
};
}