1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/galactic/demo-nodes-cpp-native/default.nix

25 lines
1.1 KiB
Nix

# Copyright 2021 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-galactic-demo-nodes-cpp-native";
version = "0.14.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/galactic/demo_nodes_cpp_native/0.14.3-1.tar.gz";
name = "0.14.3-1.tar.gz";
sha256 = "3dedc2d51bb77ebb45af01f731d174eff7a65a35397ec3fb80b317e3b7c9b387";
};
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 ];
};
}