1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/foxy/rosbridge-suite/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

30 lines
1.1 KiB
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-core, rosapi, rosbridge-library, rosbridge-server }:
buildRosPackage {
pname = "ros-foxy-rosbridge-suite";
version = "1.3.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbridge_suite-release/archive/release/foxy/rosbridge_suite/1.3.1-1.tar.gz";
name = "1.3.1-1.tar.gz";
sha256 = "94366336bf1ed158fbf73b9ed9a3086a1f1d26ee685b5d0ba9df3160730a788c";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
propagatedBuildInputs = [ rosapi rosbridge-library rosbridge-server ];
nativeBuildInputs = [ ament-cmake-core ];
meta = {
description = ''Rosbridge provides a JSON API to ROS functionality for non-ROS programs.
There are a variety of front ends that interface with rosbridge, including
a WebSocket server for web browsers to interact with.
Rosbridge_suite is a meta-package containing rosbridge, various front end
packages for rosbridge like a WebSocket package, and helper packages.'';
license = with lib.licenses; [ bsdOriginal ];
};
}