nix-ros-overlay/distros/foxy/diff-drive-controller/default.nix
2022-06-11 13:21:09 -04:00

26 lines
1.1 KiB
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, controller-interface, controller-manager, geometry-msgs, hardware-interface, nav-msgs, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, tf2, tf2-msgs }:
buildRosPackage {
pname = "ros-foxy-diff-drive-controller";
version = "0.8.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/foxy/diff_drive_controller/0.8.0-1.tar.gz";
name = "0.8.0-1.tar.gz";
sha256 = "fde6a805cbf012bd7418dbc17c136f94a2d420ff6ae0c0a1ae4fa1f74a472978";
};
buildType = "ament_cmake";
buildInputs = [ pluginlib ];
checkInputs = [ ament-cmake-gmock controller-manager ];
propagatedBuildInputs = [ controller-interface geometry-msgs hardware-interface nav-msgs rclcpp rclcpp-lifecycle realtime-tools tf2 tf2-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Controller for a differential drive mobile base.'';
license = with lib.licenses; [ asl20 ];
};
}