2022-12-09 19:20:15 -05:00
|
|
|
|
2023-01-06 13:57:00 +00:00
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-03-17 13:53:56 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, example-interfaces, pythonPackages, rcl-interfaces, rclpy, std-msgs }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-demo-nodes-py";
|
2023-03-17 13:53:56 +00:00
|
|
|
version = "0.25.0-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-17 13:53:56 +00:00
|
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/demo_nodes_py/0.25.0-1.tar.gz";
|
|
|
|
name = "0.25.0-1.tar.gz";
|
|
|
|
sha256 = "bb72ff2d2480721a99a48b151515098996d19e6c9c7bf5e78a052bd4cd529055";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
2023-03-17 13:53:56 +00:00
|
|
|
propagatedBuildInputs = [ example-interfaces rcl-interfaces rclpy std-msgs ];
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|