mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-15 20:18:39 +03:00
26 lines
1.1 KiB
Nix
26 lines
1.1 KiB
Nix
![]() |
|
||
|
# Copyright 2022 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-humble-demo-nodes-cpp-native";
|
||
|
version = "0.20.2-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/humble/demo_nodes_cpp_native/0.20.2-1.tar.gz";
|
||
|
name = "0.20.2-1.tar.gz";
|
||
|
sha256 = "24dc9149d2341e0629c8d0dcfc074811eee4107ce03094a4ba2d2908e76b9839";
|
||
|
};
|
||
|
|
||
|
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 implementation.'';
|
||
|
license = with lib.licenses; [ asl20 ];
|
||
|
};
|
||
|
}
|