mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 01:42:24 +03:00
25 lines
985 B
Nix
25 lines
985 B
Nix
|
|
# Copyright 2020 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, rclcpp, rmw-fastrtps-cpp, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-crystal-demo-nodes-cpp-native";
|
|
version = "0.6.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/crystal/demo_nodes_cpp_native/0.6.2-0.tar.gz";
|
|
name = "0.6.2-0.tar.gz";
|
|
sha256 = "3a7bbe8783baab74faa5bfc7f49cc90e4ffa199f6cde8b83dcdf0146dcc0f5fe";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing ];
|
|
propagatedBuildInputs = [ rclcpp 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 ];
|
|
};
|
|
}
|