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

26 lines
901 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-jazzy-async-web-server-cpp";
version = "2.0.0-r6";
src = fetchurl {
url = "https://github.com/ros2-gbp/async_web_server_cpp-release/archive/release/jazzy/async_web_server_cpp/2.0.0-6.tar.gz";
name = "2.0.0-6.tar.gz";
sha256 = "40fb602903b7cf0c68edeaacbe32046843b209dacb9537ba5b055bc5c1471b8b";
};
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 ];
};
}