mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
24 lines
1,013 B
Nix
24 lines
1,013 B
Nix
|
|
# Copyright 2020 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-eloquent-webots-ros2-demos";
|
|
version = "1.0.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/eloquent/webots_ros2_demos/1.0.2-1.tar.gz";
|
|
name = "1.0.2-1.tar.gz";
|
|
sha256 = "3eb7b07b83f7d5c6fccc27cffe06b3c237ada19edf75cbc27c422d64ff3ab51e";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|