nix-ros-overlay/eloquent/demo-nodes-cpp/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, example-interfaces, launch, launch-ros, launch-testing, launch-testing-ament-cmake, launch-testing-ros, rclcpp, rclcpp-components, rcutils, rmw, rmw-implementation-cmake, std-msgs }:
buildRosPackage {
pname = "ros-eloquent-demo-nodes-cpp";
version = "0.8.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/eloquent/demo_nodes_cpp/0.8.4-1.tar.gz";
name = "0.8.4-1.tar.gz";
sha256 = "85dccbfd4ea1ae763585ec384561ebaed38da2885b24d54f83ad1463b7884f32";
};
buildType = "ament_cmake";
buildInputs = [ rmw-implementation-cmake ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros ];
propagatedBuildInputs = [ example-interfaces launch-ros rclcpp rclcpp-components rcutils rmw std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''C++ nodes which were previously in the ros2/examples repository but are now just used for demo purposes.'';
license = with lib.licenses; [ asl20 ];
};
}