nix-ros-overlay/distros/humble/as2-core/default.nix

25 lines
1.3 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, as2-msgs, cv-bridge, eigen, geographic-msgs, geographiclib, geometry-msgs, image-transport, nav-msgs, python3Packages, rclcpp, rclcpp-action, rclcpp-lifecycle, sensor-msgs, std-msgs, std-srvs, tf2, tf2-geometry-msgs, tf2-ros, yaml-cpp }:
buildRosPackage {
pname = "ros-humble-as2-core";
version = "1.1.2-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/aerostack2-release/archive/release/humble/as2_core/1.1.2-2.tar.gz";
name = "1.1.2-2.tar.gz";
sha256 = "70ff8238e81884150557a79f6630e15c2191106b79539f72c7f341eae0459d29";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ament-cmake as2-msgs cv-bridge eigen geographic-msgs geographiclib geometry-msgs image-transport nav-msgs python3Packages.pybind11 rclcpp rclcpp-action rclcpp-lifecycle sensor-msgs std-msgs std-srvs tf2 tf2-geometry-msgs tf2-ros yaml-cpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Aerostack2 core package which contains the basic classes of the Aerostack2 framework";
license = with lib.licenses; [ bsd3 ];
};
}