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/foxy/diff-drive-controller/default.nix

26 lines
1.1 KiB
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, 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.4.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/foxy/diff_drive_controller/0.4.0-1.tar.gz";
name = "0.4.0-1.tar.gz";
sha256 = "3dbce9d3f47b38244c3e435d7379ce6f2fb98d10495d4f278014a8e0212a2763";
};
buildType = "ament_cmake";
buildInputs = [ pluginlib ];
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common 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 ];
};
}