nix-ros-overlay/distros/rolling/demo-nodes-cpp-native/default.nix

27 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2023 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-rolling-demo-nodes-cpp-native";
version = "0.32.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/demo_nodes_cpp_native/0.32.0-1.tar.gz";
name = "0.32.0-1.tar.gz";
sha256 = "e9729b2bbfe52aaf53e7ced2c31899f0f409158630840b4de4558cfa81fb0ac5";
};
buildType = "ament_cmake";
buildInputs = [ 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 implementation.'';
license = with lib.licenses; [ asl20 ];
};
}