2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, pythonPackages, rclpy, std-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-examples-rclpy-minimal-subscriber";
|
2020-06-24 01:11:26 -04:00
|
|
|
version = "0.9.3-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-06-24 01:11:26 -04:00
|
|
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/foxy/examples_rclpy_minimal_subscriber/0.9.3-1.tar.gz";
|
|
|
|
name = "0.9.3-1.tar.gz";
|
|
|
|
sha256 = "cbbbd5f922272c0298f3c6d4dd6cb6eacba8a0662ab5aee14ec10f8f8953750b";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
|
|
|
propagatedBuildInputs = [ rclpy std-msgs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Examples of minimal subscribers using rclpy.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|