mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
24 lines
974 B
Nix
24 lines
974 B
Nix
|
|
# 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, vision-msgs, webots-ros2-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-webots-ros2-core";
|
|
version = "1.1.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/foxy/webots_ros2_core/1.1.1-1.tar.gz";
|
|
name = "1.1.1-1.tar.gz";
|
|
sha256 = "049d92019d36981a716964c59bb9b34858128e8aa5d2ac8fdd909a3d1a84802c";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|