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

25 lines
1.1 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, launch, launch-testing, launch-testing-ament-cmake, launch-testing-ros, rclcpp, rclcpp-components, rmw-fastrtps-cpp, std-msgs }:
buildRosPackage {
pname = "ros-eloquent-demo-nodes-cpp-native";
version = "0.8.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/eloquent/demo_nodes_cpp_native/0.8.4-1.tar.gz";
name = "0.8.4-1.tar.gz";
sha256 = "3b02d8e8cdb5e4536937ad68731a70a331f3f66e774f1ee6015acc5e476e9ae4";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros ];
propagatedBuildInputs = [ rclcpp rclcpp-components rmw-fastrtps-cpp std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''C++ nodes which access the native handles of the rmw implemenation.'';
license = with lib.licenses; [ asl20 ];
};
}