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, example-interfaces, pythonPackages, rclpy, std-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-examples-rclpy-minimal-service";
|
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_service/0.9.3-1.tar.gz";
|
|
|
|
name = "0.9.3-1.tar.gz";
|
|
|
|
sha256 = "c109579cc2afda4a95948514f2e2f2b14a15dd36b7f2779128176473b0cc5e57";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
|
|
|
propagatedBuildInputs = [ example-interfaces rclpy std-msgs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Examples of minimal service servers using rclpy.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|