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/webots-ros2-core/default.nix

25 lines
949 B
Nix
Raw Normal View History

# Copyright 2021 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, webots-ros2-msgs }:
buildRosPackage {
pname = "ros-foxy-webots-ros2-core";
version = "1.0.5-r1";
src = fetchurl {
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";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ builtin-interfaces python3Packages.tkinter rclpy std-msgs webots-ros2-msgs ];
meta = {
description = ''Core interface between Webots and ROS2'';
license = with lib.licenses; [ asl20 ];
};
}