1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/foxy/rosbridge-library/default.nix

27 lines
1.1 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, builtin-interfaces, geometry-msgs, python3Packages, rclpy, rosidl-default-generators, rosidl-default-runtime, std-msgs }:
buildRosPackage {
pname = "ros-foxy-rosbridge-library";
version = "1.0.7-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbridge_suite-release/archive/release/foxy/rosbridge_library/1.0.7-1.tar.gz";
name = "1.0.7-1.tar.gz";
sha256 = "2e2b6dcb3595131a43ff996926f401d1f08b09ddee45b834da47ed316c6ec653";
};
buildType = "ament_cmake";
buildInputs = [ rosidl-default-generators ];
propagatedBuildInputs = [ builtin-interfaces geometry-msgs python3Packages.bson python3Packages.pillow rclpy rosidl-default-runtime std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''The core rosbridge package, responsible for interpreting JSON andperforming
the appropriate ROS action, like subscribe, publish, call service, and
interact with params.'';
license = with lib.licenses; [ bsdOriginal ];
};
}