2024-05-24 14:00:52 +00:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2024-05-24 14:00:52 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-10-04 13:25:33 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-cmake-python, geometry-msgs, polygon-msgs, python3Packages }:
|
2024-05-24 14:00:52 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-jazzy-polygon-utils";
|
2024-10-04 13:25:33 +00:00
|
|
|
version = "1.1.0-r1";
|
2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-10-04 13:25:33 +00:00
|
|
|
url = "https://github.com/ros2-gbp/polygon_ros-release/archive/release/jazzy/polygon_utils/1.1.0-1.tar.gz";
|
|
|
|
name = "1.1.0-1.tar.gz";
|
|
|
|
sha256 = "5ddac03af96d1733d08254753c8c6840f7ffa8944666e91fdb7652ed81eeffc5";
|
2024-05-24 14:00:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2024-10-04 13:25:33 +00:00
|
|
|
buildInputs = [ ament-cmake ament-cmake-python ];
|
|
|
|
checkInputs = [ ament-cmake-pytest ];
|
|
|
|
propagatedBuildInputs = [ geometry-msgs polygon-msgs python3Packages.shapely ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-python ];
|
2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Utilities for working with polygons, including triangulation";
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|