nix-ros-overlay/distros/rolling/polygon-msgs/default.nix

25 lines
885 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
buildRosPackage {
pname = "ros-rolling-polygon-msgs";
version = "1.2.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/polygon_ros-release/archive/release/rolling/polygon_msgs/1.2.0-1.tar.gz";
name = "1.2.0-1.tar.gz";
sha256 = "2576a68e4b157b6060d0537748d14f56abb808bb6a3026c5d5873c648fc6a7c9";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake rosidl-default-generators ];
propagatedBuildInputs = [ rosidl-default-runtime std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "General purpose two-dimensional polygons. Formerly a part of nav_2d_msgs";
license = with lib.licenses; [ bsd3 ];
};
}