mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 03:04:49 +03:00
26 lines
1.1 KiB
Nix
26 lines
1.1 KiB
Nix
|
|
# Copyright 2024 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.35.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/demo_nodes_cpp_native/0.35.1-1.tar.gz";
|
|
name = "0.35.1-1.tar.gz";
|
|
sha256 = "5fb60310bbf952c237a7baaf8765da904127ee1e8c32401e4f3f971f3ebacacc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|