nix-ros-overlay/distros/jazzy/robot-localization/default.nix

26 lines
1.6 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, angles, boost, builtin-interfaces, diagnostic-msgs, diagnostic-updater, eigen, geographic-msgs, geographiclib, geometry-msgs, launch-ros, launch-testing-ament-cmake, message-filters, nav-msgs, rclcpp, rmw-implementation, rosidl-default-generators, rosidl-default-runtime, sensor-msgs, std-msgs, std-srvs, tf2, tf2-eigen, tf2-geometry-msgs, tf2-ros, yaml-cpp-vendor }:
buildRosPackage {
pname = "ros-jazzy-robot-localization";
version = "3.8.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/robot_localization-release/archive/release/jazzy/robot_localization/3.8.2-1.tar.gz";
name = "3.8.2-1.tar.gz";
sha256 = "8d13f9b4e32e537d6f5e1d90af7144dabedc92446506dd98db1b9edace8c58b7";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake builtin-interfaces rosidl-default-generators ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common launch-ros launch-testing-ament-cmake ];
propagatedBuildInputs = [ angles boost diagnostic-msgs diagnostic-updater eigen geographic-msgs geographiclib geometry-msgs message-filters nav-msgs rclcpp rmw-implementation rosidl-default-runtime sensor-msgs std-msgs std-srvs tf2 tf2-eigen tf2-geometry-msgs tf2-ros yaml-cpp-vendor ];
nativeBuildInputs = [ ament-cmake builtin-interfaces rosidl-default-generators ];
meta = {
description = "Provides nonlinear state estimation through sensor fusion of an abritrary number of sensors.";
license = with lib.licenses; [ asl20 ];
};
}