# Copyright 2021 Open Source Robotics Foundation # 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-foxy-demo-nodes-py"; version = "0.9.3-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/demos-release/archive/release/foxy/demo_nodes_py/0.9.3-1.tar.gz"; name = "0.9.3-1.tar.gz"; sha256 = "0d5d5a6a942764e89cef5d7c683ba8e08a79cd1ef298900fab10f7922caebdd4"; }; 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 ]; }; }