nix-ros-overlay/distros/humble/rmf-websocket/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-catch2, ament-cmake-uncrustify, boost, eigen, nlohmann-json-schema-validator-vendor, nlohmann_json, rclcpp, rmf-utils, websocketpp }:
buildRosPackage {
pname = "ros-humble-rmf-websocket";
version = "2.1.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmf_ros2-release/archive/release/humble/rmf_websocket/2.1.8-1.tar.gz";
name = "2.1.8-1.tar.gz";
sha256 = "90ffbbfa07cc0663302ebaa33f8a00952c9e751df29cec3a5bed4c65cfb2634e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake eigen ];
checkInputs = [ ament-cmake-catch2 ament-cmake-uncrustify ];
propagatedBuildInputs = [ boost nlohmann-json-schema-validator-vendor nlohmann_json rclcpp rmf-utils websocketpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "A package managing the websocket api endpoints in RMF system.";
license = with lib.licenses; [ asl20 ];
};
}