1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/dashing/rosbridge-suite/default.nix

30 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, rosbridge-library, rosapi, rosbridge-server, ament-cmake-core }:
buildRosPackage {
pname = "ros-dashing-rosbridge-suite";
version = "1.0.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbridge_suite-release/archive/release/dashing/rosbridge_suite/1.0.2-1.tar.gz";
name = "1.0.2-1.tar.gz";
sha256 = "d8b2426c777095ad9d1b798bb6d58061aaa9c6675036b1cfe5797f0c906ebc35";
};
buildType = "ament_cmake";
propagatedBuildInputs = [ rosbridge-library rosapi 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 ];
};
}