2022-12-09 19:20:15 -05:00
|
|
|
|
2023-01-06 13:57:00 +00:00
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, boost, launch-testing, openssl, python3Packages }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-async-web-server-cpp";
|
|
|
|
version = "2.0.0-r2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ros2-gbp/async_web_server_cpp-release/archive/release/rolling/async_web_server_cpp/2.0.0-2.tar.gz";
|
|
|
|
name = "2.0.0-2.tar.gz";
|
|
|
|
sha256 = "a63d093c7c74efb399181c0d1065258afc0d0bca59f9ec8438796838a11ab664";
|
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|