nix-ros-overlay/distros/jazzy/fuse-constraints/default.nix

27 lines
1.3 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, ceres-solver, eigen, fuse-core, fuse-graphs, fuse-variables, gbenchmark, geometry-msgs, pluginlib, rclcpp, suitesparse }:
buildRosPackage {
pname = "ros-jazzy-fuse-constraints";
version = "1.1.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/fuse-release/archive/release/jazzy/fuse_constraints/1.1.1-1.tar.gz";
name = "1.1.1-1.tar.gz";
sha256 = "209db0b84d3349fd1e107fbdafd25fe438f5a60b451d05546f957cb66ddecd38";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common gbenchmark ];
propagatedBuildInputs = [ ceres-solver eigen fuse-core fuse-graphs fuse-variables geometry-msgs pluginlib rclcpp suitesparse ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "The fuse_constraints package provides a set of commonly used constraint types, such as direct measurements on \\
state variables (absolute constraints) or measurements of the state changes (relative constraints).";
license = with lib.licenses; [ bsdOriginal ];
};
}