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/humble/webots-ros2-core/default.nix
2022-06-11 13:21:09 -04:00

24 lines
975 B
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, builtin-interfaces, python3Packages, pythonPackages, rclpy, std-msgs, vision-msgs, webots-ros2-msgs }:
buildRosPackage {
pname = "ros-humble-webots-ros2-core";
version = "1.2.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/webots_ros2-release/archive/release/humble/webots_ros2_core/1.2.3-1.tar.gz";
name = "1.2.3-1.tar.gz";
sha256 = "27dc748034a42a165e8907ae3077bfd0cb455cf47e93fa7e66a00f55b20125a7";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ builtin-interfaces python3Packages.tkinter rclpy std-msgs vision-msgs webots-ros2-msgs ];
meta = {
description = ''Core interface between Webots and ROS2'';
license = with lib.licenses; [ asl20 ];
};
}