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/humble/geometry2/default.nix

25 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, tf2, tf2-bullet, tf2-eigen, tf2-eigen-kdl, tf2-geometry-msgs, tf2-kdl, tf2-msgs, tf2-py, tf2-ros, tf2-sensor-msgs, tf2-tools }:
buildRosPackage {
pname = "ros-humble-geometry2";
version = "0.25.12-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/humble/geometry2/0.25.12-1.tar.gz";
name = "0.25.12-1.tar.gz";
sha256 = "639d1b8ef293305e077629df6688d714f8b34349bee6a27c7e9ff83f43f23e6d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
propagatedBuildInputs = [ tf2 tf2-bullet tf2-eigen tf2-eigen-kdl tf2-geometry-msgs tf2-kdl tf2-msgs tf2-py tf2-ros tf2-sensor-msgs tf2-tools ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "A metapackage to bring in the default packages second generation Transform Library in ros, tf2.";
license = with lib.licenses; [ bsdOriginal ];
};
}