2022-06-09 18:50:37 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-10-11 13:52:59 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-ros, example-interfaces, launch, launch-ros, launch-testing, launch-testing-ament-cmake, launch-testing-ros, python3Packages, rclpy, rosapi, rosbridge-library, rosbridge-msgs, std-srvs }:
|
2022-06-09 18:50:37 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-rosbridge-server";
|
2024-10-11 13:52:59 +00:00
|
|
|
version = "2.0.0-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-10-11 13:52:59 +00:00
|
|
|
url = "https://github.com/ros2-gbp/rosbridge_suite-release/archive/release/humble/rosbridge_server/2.0.0-1.tar.gz";
|
|
|
|
name = "2.0.0-1.tar.gz";
|
|
|
|
sha256 = "c3570749fc2d339229eb7cddb11bf158f14cdf7a19816b31af1503395a3dc35e";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake ament-cmake-ros ];
|
2024-10-11 13:52:59 +00:00
|
|
|
checkInputs = [ example-interfaces launch launch-ros launch-testing launch-testing-ament-cmake launch-testing-ros python3Packages.autobahn std-srvs ];
|
2022-06-09 18:50:37 -04:00
|
|
|
propagatedBuildInputs = [ python3Packages.tornado python3Packages.twisted rclpy rosapi rosbridge-library rosbridge-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "A WebSocket interface to rosbridge.";
|
2022-06-09 18:50:37 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|