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-demos/default.nix

25 lines
1,005 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, pythonPackages, rclpy, std-msgs, webots-ros2-abb, webots-ros2-core, webots-ros2-universal-robot }:
buildRosPackage {
pname = "ros-foxy-webots-ros2-demos";
version = "1.1.1-r1";
src = fetchurl {
url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/foxy/webots_ros2_demos/1.1.1-1.tar.gz";
name = "1.1.1-1.tar.gz";
sha256 = "0ccefa388ee67c0d05326a2fef15c348256d5f92aa785210a2785f7347fec8fb";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ builtin-interfaces rclpy std-msgs webots-ros2-abb webots-ros2-core webots-ros2-universal-robot ];
meta = {
description = ''Various demos of the Webots-ROS2 interface.'';
license = with lib.licenses; [ asl20 ];
};
}