2021-05-28 23:33:17 +00:00
|
|
|
|
2022-01-07 13:12:33 +00:00
|
|
|
# Copyright 2022 Open Source Robotics Foundation
|
2021-05-28 23:33:17 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, example-interfaces, pythonPackages, rclpy, std-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-galactic-demo-nodes-py";
|
|
|
|
version = "0.14.3-r1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/galactic/demo_nodes_py/0.14.3-1.tar.gz";
|
|
|
|
name = "0.14.3-1.tar.gz";
|
|
|
|
sha256 = "c5972ac6469926828f5531b307ffac77a634a62833cd71923e0d22d81763038d";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
|
|
|
propagatedBuildInputs = [ example-interfaces rclpy std-msgs ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|