2020-07-10 12:58:21 +00:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-07-10 12:58:21 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2020-09-25 13:19:46 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, builtin-interfaces, python3Packages, pythonPackages, rclpy, std-msgs, webots-ros2-msgs }:
|
2020-07-10 12:58:21 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-webots-ros2-core";
|
2021-01-22 13:37:51 +00:00
|
|
|
version = "1.0.5-r1";
|
2020-07-10 12:58:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-22 13:37:51 +00:00
|
|
|
url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/foxy/webots_ros2_core/1.0.5-1.tar.gz";
|
|
|
|
name = "1.0.5-1.tar.gz";
|
|
|
|
sha256 = "6465bcd2f0720f50fd510c9699fc3d4d65bcaafc0ca284d3f2c7811d0c81627d";
|
2020-07-10 12:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
2020-09-25 13:19:46 +00:00
|
|
|
propagatedBuildInputs = [ builtin-interfaces python3Packages.tkinter rclpy std-msgs webots-ros2-msgs ];
|
2020-07-10 12:58:21 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Core interface between Webots and ROS2'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|