nix-ros-overlay/distros/galactic/geometry2/default.nix

24 lines
1,003 B
Nix

# Copyright 2022 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-galactic-geometry2";
version = "0.17.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/galactic/geometry2/0.17.4-1.tar.gz";
name = "0.17.4-1.tar.gz";
sha256 = "2a6748be037b3b67c7023037458eea41dc3ad41078e01f7b9b569f9eb8da7acc";
};
buildType = "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 ];
};
}