nix-ros-overlay/distros/humble/async-web-server-cpp/default.nix

26 lines
903 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, boost, launch-testing, openssl, python3Packages }:
buildRosPackage {
pname = "ros-humble-async-web-server-cpp";
version = "2.0.0-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/async_web_server_cpp-release/archive/release/humble/async_web_server_cpp/2.0.0-3.tar.gz";
name = "2.0.0-3.tar.gz";
sha256 = "c9f5968c670996bfd9d697b4630791573042044433f5fd9aaef7d8cf280cd60d";
};
buildType = "catkin";
buildInputs = [ ament-cmake-ros openssl ];
checkInputs = [ launch-testing python3Packages.websocket-client ];
propagatedBuildInputs = [ boost ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Asynchronous Web/WebSocket Server in C++";
license = with lib.licenses; [ bsdOriginal ];
};
}